U-Boot Boot Debian from SDCARD

Basically

setenv loadaddr 0x90800000
setenv bootcmd 'mmc read 0 0x90800000 0x800 1800 ; bootm '
setenv bootargs 'console=ttymxc0,115200 root=/dev/mmcblk0p1 rootwait init=/sbin/init di1_primary calibration loglevel=7'
saveenv

The full script is:

Net: FEC0 [PRIME]
Hit any key to stop autoboot: 0
BBG U-Boot (SD) > printenv
bootdelay=1
baudrate=115200
loadaddr=0x90800000
netdev=eth0
ethprime=FEC0
bootcmd=mmc read 0 0x90800000 0x800 1800 ; bootm
ethact=FEC0
bootargs=console=ttymxc0,115200 root=/dev/mmcblk0p1 rootwait init=/sbin/init di1_primary calibration loglevel=7
stdin=serial
stdout=serial
stderr=serial

  1. Leave a comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: