by docbee » Tue Mar 13, 2012 7:10 am
Thanks, I was not aware, that DC01 can be handled by the same procedure for setting up the HDD as boot decvice as done with the pogoplug, with the variant to use a slightly modified uImage.
The only thing that still puzzles me is, how to configure the uboot environment to load content of first partition of HDD into ram and to start execution from there. I can't see any comands doing that in the actual uboot environment and the "diskboot" uboot command used in the pogoplug example is not avail in DC01 uboot. How did you overcome these obstacles in the DC01, or do I miss something?
Sorry for so many questions and thanks for your kind help so far.
DC01 uboot environment:
$this->bbcode_second_pass_code('', 'bootcmd=run extinguishled boot_nand
bootdelay=2
baudrate=115200
ethaddr=00:30:e0:00:00:01
ipaddr=172.31.0.128
serverip=172.31.0.100
autoload=n
netmask=255.255.0.0
bootfile="uImage"
load_nand=nboot 60500000 0 440000
load_nand2=nboot 60500000 0 A40000
lightled=ledfail 1
extinguishled=ledfail 0
boot=bootm 60500000
boot_nand=run load_nand boot || run load_nand2 boot || run lightled
stdin=serial
stdout=serial
stderr=serial
bootargs=root=ubi0:rootfs ubi.mtd=2,512 rootfstype=ubifs console=ttyS0,115200 elevator=cfq mac_adr=0x00,0x30,0xe0,0x00,0x00,0x01 mem=256M poweroutage=yes')