Epics@GSI Webhome

Dreamplug Tweak UBoot Faster Multi Boot

Introduction

Solution

How to

Connect via UART connector (115.200 Bit/s) to the dreamplug and enter at system startup the boot prompt
Hit any key to stop autoboot: 1
Marvell>>
and continue by pasting the code lines

Sources

Code:

  • uboot-dualboot.txt: u-boot setenv commands for a dual and faster boot
    setenv x_bootargs                'console=ttyS0,115200 panic=10 rootwait rootdelay=10'
    setenv image_address             0x6400000
    
    setenv bootcmd                   'run init; run bootcmd_sdb; run bootcmd_sda;'
    setenv init                      'run clear_kernel_in_mem; run x_bootcmd_usb;'
    setenv bootcmd_sdb               'setenv root_device /dev/sdb2; setenv usb_device_id 1; run boot_common;'
    setenv bootcmd_sda               'setenv root_device /dev/sda2; setenv usb_device_id 0; run boot_common;'
    
    setenv boot_common               'run bootcmd_echo_boot_attempt; run setargs; run x_bootcmd_kernel; bootm ${image_address};'
    
    setenv clear_kernel_in_mem       'echo Purging kernel in memory; mw ${image_address} 0x0 0x300000;'
    setenv bootcmd_echo_boot_attempt 'echo attempting to boot from: ${root_device};'
    setenv setargs                   'setenv bootargs ${x_bootargs} root=${root_device}; echo bootargs="${bootargs}";'
    setenv x_bootcmd_kernel          'fatload usb ${usb_device_id} ${image_address} uimage;'
    
    saveenv
    


-- PeterZumbruch - 04 Sep 2013
Topic attachments
I Attachment Action Size Date Who Comment
dreamplug_setenv_2013_07_06.txttxt dreamplug_setenv_2013_07_06.txt manage 1.7 K 2013-09-04 - 11:54 PeterZumbruch dreamplug setenv by M.Traxler
uboot-dualboot.txttxt uboot-dualboot.txt manage 1.0 K 2013-09-03 - 14:15 PeterZumbruch u-boot setenv commands for a dual and faster boot
Edit | Attach | Print version |  PDF | History: r7 | r5 < r4 < r3 < r2 | Backlinks | View wiki text | Edit WikiText | More topic actions...
Topic revision: r4 - 2013-10-09, PeterZumbruch
 
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding GSI Wiki? Send feedback
Imprint (in German)
Privacy Policy (in German)