angstrom-uboot-scripts: sync with OE

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
Koen Kooi
2011-02-01 10:34:48 +01:00
parent e181df9d9a
commit 81809c9168
7 changed files with 68 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
setenv vram '16M'
setenv dvimode '1280x1024MR-24@60 mem=99M@0x80000000 mem=384M@0x88000000 omapfb.vram=0:8M,1:4M,2:4M'
run loaduimage
run mmcboot

View File

@@ -0,0 +1,5 @@
setenv console ttyO2,115200n8
setenv vram '16M'
setenv dvimode 'hd720 mem=99M@0x80000000 mem=384M@0x88000000 omapfb.vram=0:8M,1:4M,2:4M'
run loaduimage
run mmcboot

View File

@@ -0,0 +1,38 @@
echo Erasing NAND
nand erase
mtdparts default
mmc init
echo Programming x-loader
fatload mmc 0 0x82000000 MLO
nandecc hw
nand erase 0 80000
nand write 82000000 0 20000
nand write 82000000 20000 20000
nand write 82000000 40000 20000
nand write 82000000 60000 20000
echo Programming u-boot
fatload mmc 0 0x82000000 u-boot.bin
nandecc sw
nand erase 80000 160000
nand write 0x82000000 80000 160000
echo Programming Linux
fatload mmc 0 0x82000000 uImage
nand erase 0x00280000 0x00400000
nand write 0x82000000 0x00280000 0x00400000
echo Programming rootfs
fatload mmc 0 0x82000000 rootfs.ubi
nand write.e 0x82000000 0x00680000 ${filesize}
echo Programming u-boot environment
setenv nandroot 'ubi0:beagleboard-rootfs ubi.mtd=4'
setenv nandrootfstype ubifs
saveenv
echo Please remove SD card and reboot

View File

@@ -0,0 +1,7 @@
setenv memhole 'mem=453M@0x80000000 mem=512M@0xa0000000'
setenv dvimode 'omapfb.mode=dvi:1600x1200MR-24@60'
setenv hdmimode 'omapdss.hdmimode=0'
setenv fbvram 'omapfb.vram=0:16M,1:16M'
setenv vram 64M ${memhole} ${dvimode} ${fbvram}
run loaduimage
run mmcboot

View File

@@ -0,0 +1,5 @@
setenv console 'ttyO2,115200n8'
setenv vram '16M mem=99M@0x80000000 mem=384M@0x88000000'
setenv dvimode '1024x768MR-24@60 omapfb.vram=0:8M,1:4M,2:4M'
run loaduimage
run mmcboot

View File

@@ -0,0 +1,5 @@
setenv console 'ttyO2,115200n8'
setenv vram '16M'
setenv dvimode '1024x768MR-24@60 omapfb.vram=0:8M,1:4M,2:4M'
run loaduimage
run mmcboot

View File

@@ -0,0 +1,4 @@
setenv vram '12M'
setenv dvimode '640x480MR-24@60 omapfb.vram=0:6M,1:4M,2:2M'
run loaduimage
run mmcboot