Re: Creating a uboot script that will write MLO only once to NAND

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
        I trimmed down the boot script so that it doesn't set the debug console baud rate. Now I don't get the set baud rate and press enter message, but the system still keeps re-reading the boot.scr script forever, in a loop.


889 bytes read
Running bootscript from mmc ...
## Executing script at 82000000
Saving Environment to NAND...
Erasing Nand...
Erasing at 0x260000 -- 100% complete.
Writing to Nand... done
mmc1 is available
reading boot.scr

889 bytes read
Running bootscript from mmc ...
## Executing script at 82000000
Saving Environment to NAND...
Erasing Nand...
Erasing at 0x260000 -- 100% complete.
Writing to Nand... done
mmc1 is available
reading boot.scr


Here is what my boot script looks like:

setenv bootdelay 3
setenv console 'ttyS2,115200n8'
setenv vram '12M'
setenv dvimode '480x272MR-16@60'
setenv defaultdisplay 'dvi'
setenv mmcdev '1'
setenv mmcroot '/dev/mmcblk0p2 rw'
setenv mmcrootfstype 'ext3 rootwait'
setenv nandroot '/dev/mtdblock5 rw'
setenv nandrootfstype 'yaffs2 rootwait'
setenv nandargs 'setenv bootargs androidboot.console=ttyS2 console=${console} root=${nandroot} rootfstype=${nandrootfstype} vram=${vram} omapfb.vram=0:4M omapfb.mode=${dvimode} omapdss.def_disp=${defaultdisplay} omapfb.debug=y omapdss.debug=y init=/init'
setenv mmcargs 'setenv bootargs androidboot.console=ttyS2 console=${console} root=${mmcroot} rootfstype=${mmcrootfstype} vram=${vram} omapfb.vram=0:4M omapfb.mode=${dvimode} omapdss.def_disp=${defaultdisplay} omapfb.debug=y omapdss.debug=y init=/init'
saveenv
boot


Elvis Dowson
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux