Navigation |
OSK NotesSo far just notes on how to flash images ... Flash u-boot, assumes tftp download and u-boot named OMAP5912 OSK # tftpboot 0x10000000 uboot.bin OMAP5912 OSK # protect off 1:0 OMAP5912 OSK # erase 1:0 OMAP5912 OSK # cp.b 0x10000000 0x0 $(filesize) OMAP5912 OSK # protect on 1:0
Flash kernel, assumes tftp download and kernel named OMAP5912 OSK # tftpboot 0x10000000 uImage.cc OMAP5912 OSK # erase 0x40000 0x23ffff OMAP5912 OSK # cp.b 0x10000000 0x40000 $(filesize)
Flash jffs2 file system, assumes tftp download and file system image named OMAP5912 OSK # tftpboot 0x10000000 fs.jffs2 OMAP5912 OSK # erase 0x240000 0x1ffffff OMAP5912 OSK # cp.b 0x10000000 0x240000 $(filesize) Here is my uboot environment. OMAP5912 OSK # printenv baudrate=115200 bootdelay=10 ethaddr=00:0e:99:02:03:fc bootfile=u-boot.bin filesize=16144 fileaddr=10000000 gatewayip=192.168.1.99 netmask=255.255.255.0 ipaddr=192.168.1.150 serverip=192.168.1.81 bootcmd=bootm 0x40000 bootargs== console=ttyS0,115200n8 noinitrd rw ip=on root=/dev/mtdblock3 rootfstype=jffs2 init=/sbin/init stdin=serial stdout=serial stderr=serial Environment size: 364/131068 bytes OMAP5912 OSK #
|