Thread: Aura H2O Boot from external SD
View Single Post
Old 01-19-2016, 08:48 AM   #2
Paraglider
Junior Member
Paraglider will become famous soon enoughParaglider will become famous soon enoughParaglider will become famous soon enoughParaglider will become famous soon enoughParaglider will become famous soon enoughParaglider will become famous soon enough
 
Paraglider's Avatar
 
Posts: 1
Karma: 549
Join Date: Jan 2016
Location: France
Device: Kobo Aura
U-boot setting for external SD?

Salut Bastien.

I'm facing the same issue with my Aura.

I tried to build a mmcblk1 bootable SD by copying the internal one (dd if=mmcblk0...) with its 3 partitions. But it did not boot.

I digged a little bit in the u-boot from firmware.
Looks like the U-boot parameters are set to internal SD (mmcblk0) first.
baudrate=115200
loadaddr=0x70800000
uboot=u-boot.bin
kernel=uImage
bootcmd_mmc=run bootargs_base bootargs_mmc;load_ntxkernel;bootm
bootcmd_SD=run bootargs_base bootargs_SD;load_ntxkernel;bootm
bootcmd_recovery=run bootargs_base bootargs_recovery;load_ntxkernel;bootm
verify=no
bootcmd=run bootcmd_mmc
bootargs_recovery=setenv bootargs ${bootargs} root=/dev/mmcblk0p2 rootfstype=ext4
bootargs_mmc=setenv bootargs ${bootargs} root=/dev/mmcblk0p1 rootfstype=ext4
bootargs_SD=setenv bootargs ${bootargs} root=/dev/mmcblk1p1 rootfstype=ext4
bootargs_base=setenv bootargs console=ttymxc0,115200 rootwait rw quiet lpj=3997696
stdin=serial
stdout=serial
stderr=serial
bootdelay=0


I guess we have to set bootcmd=bootcmd_SD.
But I don't know how to do that since I have no console and delay for interrupting u-boot and get the CLI is zero (bootdelay=0).

I don't know either how the order of precedence is managed by u-boot.

Could some expert help?

Thanks in advance.
Paraglider is offline   Reply With Quote