https://github.com/RedPitaya/RedPitaya
Raw File
Tip revision: 453d2a95d733c4fac4a185c52e306cf71f80534e authored by Iztok Jeras on 02 December 2015, 11:07:32 UTC
CHANGELOG: updated changelog for RC21
Tip revision: 453d2a9
u-boot.script.debian
echo Set devicetree and ramdisk high loading address to 512MB-64MB
setenv high        0x1c000000
setenv fdt_high    ${high}
setenv initrd_high ${high}

echo Loading from SD card (FAT file system) to memory
mmcinfo
fatload mmc 0 0x2001000 uImage
fatload mmc 0 0x4000000 devicetree.dtb

echo Booting Linux kernel with ramdisk and devicetree
setenv bootargs console=ttyPS0,115200 root=/dev/mmcblk0p2 ro rootfstype=ext4 earlyprintk rootwait
setenv sdboot bootm 0x2001000 - 0x4000000
setenv bootdelay 0
bootd
back to top