OMAP1610 : improving boot up (PART 1/3 U-BOOT UPGRADE)
Hi all,
I’m working with an OMAP1610 H2 and it was taking a long time to load and uncompress kernel. Eduardo recommended me some things to be done.
BE CAREFUL –
I’M NOT RESPONSIBLE FOR YOUR ACTS. YOU CAN MISS INFORMATION IF YOU DO NOT FOLLOW THE STEPS CORRECTLY.
1 – Upgrade u-boot
- Install scratchbox for cross-compilation.
- Download the last version of u-boot.
- Configure and Compile u-boot
[sbox-arm: ~/applications/u-boot-1.3.0] > make omap1610h2_config && make
- Copy the new u-boot.bin to your tftpboot directory(details here)
$ cp /scratchbox/users/alecrim/home/alecrim/applications/u-boot-1.3.0/u-boot.bin /tftpboot
- Using minicom, access the current u-boot prompt and load the new u-boot
OMAP1610 H2 # tftp 0×10000000 u-boot.bin
TFTP from server 10.0.0.1; our IP address is 10.0.0.2
Filename ‘u-boot.bin’.
Load address: 0×10000000
Loading: ###################
done
Bytes transferred = 93568 (16d80 hex)
The bold number is import, save it.IT’S YOUR U-BOOT HEXADECIMAL!!
- Unlock the flash memory, erase a sector, copy the new u-boot.bin and lock the flash again.
DANGEROUS!! TAKE CARE!!DANGEROUS!! TAKE CARE!!DANGEROUS!! TAKE CARE!!DANGEROUS!! TAKE CARE!!
REPLACE THE BOLD HEXADECIMAL (16d80)!!! PUT YOUR U-BOOT HEXADECIMAL !!!
OMAP1610 H2 # protect off 00000000 0001ffff
Un-Protected 1 sectors
OMAP1610 H2 # era 00000000 0001ffff
Erasing sector 0 … done
Erased 1 sectors
OMAP1610 H2 # cp.b 0×10000000 0×00000000 0x16d80
Copy to Flash…\done
OMAP1610 H2 # protect on 00000000 0001ffff
Protected 1 sectors
OMAP1610 H2 #
Now, you can restart your board and pray for some output on your serial.
references:
http://tree.celinuxforum.org/CelfPubWiki/OSK_2fuboot
http://focus.ti.com/general/docs/wtbu/wtbuproductcontent.tsp?templateId=6123&navigationId=11994&path=templatedata/cm/product/data/omap_1610
http://tree.celinuxforum.org/CelfPubWiki/OSK
