ADS

2011年10月24日 星期一

2011.10.24, [PandaBoard] 還是是不夠會用Git

按照說明把u-boot抓了下來,卻發現還是無法menuconfig?
找不到omap4430panda_config, 太扯了吧?
原來是要這樣:


# git clone git://git.omapzoom.org/repo/x-loader.git
# git checkout --track -b omap4_dev origin/omap4_dev



後面的x-loader也是這樣的作法,不過在文中就有說明了

當然,身為手賤一族的我不會忘了要更新的(應該類似"svn up"這樣的東西吧?)

# git pull

Wait...x-loader有新的Error了~
BootLoader/x-loader/cpu/omap4/rom_public_dispatcher.S:39: Error: selected processor does not support ARM mode `smc #0'
make[1]: *** [rom_public_dispatcher.o] Error 1

Solution:
Edit x-loader/cpu/omap4/rom_public_dispatcher.S
patch:
.globl omap_smc_rom
+.arch_extension sec
omap_smc_rom:


Reference:
http://www.omappedia.org/wiki/Bootloader_Project#First_Stage_Boot
http://wiki.meego.com/ARM/OMAP4_Blaze
http://mingfeng6865.blogspot.com/2011/05/build-x-loader.html
http://code.google.com/p/pandroid/issues/detail?id=18

沒有留言: