#12672 HIGH 13.2.0: chosen/bootpath no longer complete

Zarro Boogs per Child bugtracker at laptop.org
Mon May 6 20:34:07 EDT 2013


#12672: chosen/bootpath no longer complete
-------------------------------------------+--------------------------------
           Reporter:  dsd                  |       Owner:  Quozl        
               Type:  defect               |      Status:  new          
           Priority:  high                 |   Milestone:  13.2.0       
          Component:  ofw - open firmware  |     Version:  not specified
         Resolution:                       |    Keywords:               
        Next_action:  never set            |    Verified:  0            
Deployment_affected:                       |   Blockedby:               
           Blocking:                       |  
-------------------------------------------+--------------------------------

Comment(by Quozl):

 When did the initramfs begin using the file name?

 Can you enable flattened device tree support?  If so, change the ramdisk
 so that it does not contain the pattern "$bootpath in\n\t\t/sd@", which
 will cause the firmware to place this in bootpath:

 {{{
 /sd/sdhci at d4281000/disk:\boot\runos2.zip//ext2-file-
 system:\boot\runos2.zip
 }}}

 You can simulate this with manual booting:
 {{{
 ok patch exit /ramdisk fixup-bootpath
 ok boot
 }}}

 On 13.1.0 this causes a panic because the root filesystem is not found.

 [http://code.coreboot.org/p/openfirmware/source/commit/3350/ svn 3350]
 added support for older operating system releases which inspects the
 uncompressed ramdisk.

 The substitution done in ''fixup-bootpath'' loses the tail of the string.
 There might be a way to avoid that.

-- 
Ticket URL: <http://dev.laptop.org/ticket/12672#comment:1>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list