by xuttux » Sat Jul 30, 2016 10:23 am
Hi,
Thank you for your tricks. I didn't have time to try it. It's also working on a 5big2.
Fvdw console = SERIAL-to-USB connection between the 5big2 motherboard and a PC or a mac.
With the serial-to-USB connection, you need a terminal and the command : "screen /dev/ttyUSB0 115200 8N1" without double quote. Power on the 5big2. You can see the boot procedure on your terminal. After the IDE reset ("LUMP ..."),push on <ctrl><c>. Don't wait too much. ;)
To save the uboot variable : "bootcmd", go to uboot prompt:
setenv LaBackdoor yes
setenv bootcmd "... your cmd to boot"
saveenv
reset
You don't need also to change the bootargs variable. The important thing is the creation the LaBackdoor variable set to yes.
For example: my command boot is:
setenv diskload "ext2load ide 1:6 0x800000 /uImage ; ext2load ide 1:6 0x1200000 /uInitrd ; bootm 0x800000 0x1200000"
setenv LaBackdoor yes
setenv bootcmd "run diskload"
saveenv
reset
And my Lacie starts with debian because I put the /boot parttion on sda6, the /root partition on sda7.
If you want to come back the original value:
on the uboot prompt:
setenv LaBackdoor
saveenv
reset
Those commands remove the variable LaBackdoor in uboot prompt. So the variable bootcmd becomes :
print bootcmd
bootcmd=run disk_disk
Bye.