Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist
View myuboot2bootscr.sh
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
U-Boot 2010.09 (Nov 11 2010 - 14:22:07)
 
OMAP3530-GP ES3.1, CPU-OPP2, L3-165MHz, Max CPU Clock 720 mHz
Gumstix Overo board + LPDDR/NAND
I2C: ready
DRAM: 512 MiB
NAND: 0 MiB
*** Warning - bad CRC or NAND, using default environment
 
In: serial
Out: serial
Err: serial
Board revision: 1
Direct connection on mmc2
No EEPROM on expansion board
Die ID #609400040000000004039f220200f012
Net: smc911x-0
Hit any key to stop autoboot: 0
I2C read: I/O error
I2C read: I/O error
mmc1 is available
reading boot.scr
 
709 bytes read
Running bootscript from mmc ...
## Executing script at 82000000
reading uImage
 
3016024 bytes read
Booting from mmc ...
## Booting kernel from Legacy Image at 83000000 ...
Image Name: Linux-2.6.32
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3015960 Bytes = 2.9 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
 
Starting kernel ...
 
Uncompressing Linux...............................................................................................................................................................................................
View myuboot2bootscr.sh
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
Overo # printenv
bootcmd=if mmc init; then if run loadbootscript; then run bootscript; else if run loaduimage; then run mmcboot; else run nandboot; fi; fi; else run nandboot; fi
bootdelay=5
baudrate=115200
loadaddr=0x82000000
console=ttyS2,115200n8
mpurate=500
vram=12M
dvimode=1024x768MR-16@60
defaultdisplay=dvi
mmcroot=/dev/mmcblk0p2 rw
mmcrootfstype=ext3 rootwait
nandroot=/dev/mtdblock4 rw
nandrootfstype=jffs2
mmcargs=setenv bootargs console=${console} mpurate=${mpurate} vram=${vram} omapfb.mode=dvi:${dvimode} omapfb.debug=y omapdss.def_disp=${defaultdisplay} root=${mmcroot} rootfstype=${mmcrootfstype}
nandargs=setenv bootargs console=${console} mpurate=${mpurate} vram=${vram} omapfb.mode=dvi:${dvimode} omapfb.debug=y omapdss.def_disp=${defaultdisplay} root=${nandroot} rootfstype=${nandrootfstype}
loadbootscript=fatload mmc 0 ${loadaddr} boot.scr
bootscript=echo Running bootscript from mmc ...; source ${loadaddr}
loaduimage=fatload mmc 0 ${loadaddr} uImage
mmcboot=echo Booting from mmc ...; run mmcargs; bootm ${loadaddr}
nandboot=echo Booting from nand ...; run nandargs; nand read ${loadaddr} 280000 400000; bootm ${loadaddr}
stdin=serial
stdout=serial
stderr=serial
dieid#=609400040000000004039f220200f012
ethact=smc911x-0
 
Environment size: 1226/131068 bytes
View myuboot2bootscr.sh
1
mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n "myubootenv" -d myubootenv.cmd boot.scr
View myuboot2bootscr.sh
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
setenv loaduimage 'fatload mmc 0 ${loadaddr} uImage'
setenv console ttyS2,115200n8
setenv loadaddr 0x82000000
setenv mpurate 720
setenv vram 4M
setenv mem 176M
setenv dvimode 1024x768MR-16@60
setenv defaultdisplay dvi
setenv mmcroot /dev/mmcblk0p2 rw
setenv mmcrootfstype ext3 rootwait
setenv ethaddr 00:00:00:FF:FF:FFsetenv mmcargs 'setenv bootargs console ${console} mpurate=${mpurate} vram=${vram} mem=${mem} omapfb.mode=dvi:${dvimode} omapfb.debug=y omapdss.def_disp=${defaultdisplay} root=${m
mcroot} rootfstype=${mmcrootfstype}'
setenv mmcboot 'echo Booting from mmc ...; run mmcargs; bootm ${loadaddr}'
run loaduimage
run mmcboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.