question about add new board to MAKEALL
Hi all.
I am try to add new board to "MAKEALL" here[1] is the patch. but "MAKEALL" doesn't compile the new board qi_lb60. here[2] is the tail of compile log
this board is base on next branch commit: 953b7e629198fe2eb0adf272fb9140f2a4a51826
I am sure that when I use mipsel-openwrt-linux-, the qi_lb60 compile fine. did I need add the "mipsel-openwrt-linux-" to MAKEALL??
give me some advice? thanks.
[1]------------------
MAKEALL +2 -1
@@ -786,7 +786,8 @@ LIST_mips=" \ ## MIPS Systems (little endian) ######################################################################### -LIST_mips4kc_el="" +LIST_mips4kc_el=" \ + qi_lb60" LIST_mips5kc_el=""
[2]
xiangfu at openmobilefree:~/u-boot/u-boot.git$ tail ../build.all.log
text data bss dec hex filename
191056 14820 22604 228480 37c80 ../u-boot-build/u-boot
Configuring for ppmc7xx board...
text data bss dec hex filename
144420 9768 22464 176652 2b20c ../u-boot-build/u-boot
--------------------- SUMMARY ----------------------------
Boards compiled: 354
Boards with warnings or errors: 19 ( MVBC_P lwmon TQM823L_LCD BMW caddy2 MPC8536DS MPC8536DS_NAND MPC8536DS_SDCARD MPC8536DS_SPIFLASH MPC8544DS P2020DS P2020DS_36BIT PM854 AP1000 ML2 sc3 EVB64260 P3G4 ZUMA )
----------------------------------------------------------
Signature · 3 lines
Best Regards Xiangfu Liu http://www.openmobilefree.net
Dear =?UTF-8?B?IlhpYW5nZnUgTGl1KOWImOWQkeWvjCki?=,
Quoted 3 lines · In message <[email protected]> you wrote:
I am try to add new board to "MAKEALL" here[1] is the patch. but "MAKEALL" doesn't compile the new board
qi_lb60.
MAKEALL is just a wrapper script that runs "make xxx_config" and "make all" for you. It has zero impact on the actual compilation of your board. If it doesn't work, then pothe problem is elsewhere.
Quoted 3 lines
I am sure that when I use mipsel-openwrt-linux-, the
qi_lb60compile fine. did I need add the "mipsel-openwrt-linux-" to MAKEALL??
No, never. Maybe you did not read the documentation and forgot to set the CROSS_COMPILE environment variable?
Quoted 10 lines
xiangfu at openmobilefree:~/u-boot/u-boot.git$ tail ../build.all.log
text data bss dec hex filename
191056 14820 22604 228480 37c80 ../u-boot-build/u-boot
Configuring for ppmc7xx board...
text data bss dec hex filename
144420 9768 22464 176652 2b20c ../u-boot-build/u-boot--------------------- SUMMARY ----------------------------
Boards compiled: 354
Boards with warnings or errors: 19 (MVBC_PlwmonTQM823L_LCDBMW caddy2 MPC8536DSMPC8536DS_NANDMPC8536DS_SDCARDMPC8536DS_SPIFLASHMPC8544DS P2020DSP2020DS_36BITPM854 AP1000 ML2 sc3 EVB64260 P3G4 ZUMA )
These are all PowerPC boards - if your cross compiler is set for the Power Architecture, you should not be surprised that it cannot compile your MIPS code.
Best regards,
Wolfgang Denk
Signature · 5 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Everyting looks interesting until you do it. Then you find it's just another job. - Terry Pratchett, _Moving Pictures_
Hi Wolfgang
thanks for reply.
before I apply the new board patches. the "MAKEALL" compile 359 boards. after I applied the new board patches. the "MAKEALL" still compile 359 boards. and the build log is the same. is that mean my patch is ok to send to mailist list??
if I am wrong just correct me :)
----
some git question:
I try to update my local [next] branch with upstream. but I got this error:
"fatal: Couldn't find remote ref next".
but I run the same command in [master] branch. works fine. please give me some advice. very thanks.
more info about my git:
xiangfu at openmobilefree:~/u-boot/u-boot.git$ git br -a
master
* next
remotes/origin/GPL-Cleanup
remotes/origin/HEAD -> origin/master remotes/origin/i.MX31
remotes/origin/lwmon5
remotes/origin/master
remotes/origin/next
remotes/origin/origin
remotes/origin/tx25
remotes/origin/u-boot-2009.11.y
xiangfu at openmobilefree:~/u-boot/u-boot.git$ git pull origin next
fatal: Couldn't find remote ref next
xiangfu at openmobilefree:~/u-boot/u-boot.git$
Quoted 36 lines · Wolfgang Denk
Dear =?UTF-8?B?IlhpYW5nZnUgTGl1KOWImOWQkeWvjCki?=,
Quoted 3 lines · In message<[email protected]> you wrote:
I am try to add new board to "MAKEALL" here[1] is the patch. but "MAKEALL" doesn't compile the new board
qi_lb60.MAKEALL is just a wrapper script that runs "make
xxx_config" and "make all" for you. It has zero impact on the actual compilation of your board. If it doesn't work, then pothe problem is elsewhere.Quoted 3 lines
I am sure that when I use mipsel-openwrt-linux-, the
qi_lb60compile fine. did I need add the "mipsel-openwrt-linux-" to MAKEALL??No, never. Maybe you did not read the documentation and forgot to set the
CROSS_COMPILEenvironment variable?Quoted 10 lines
xiangfu at openmobilefree:~/u-boot/u-boot.git$ tail ../build.all.log
text data bss dec hex filename
191056 14820 22604 228480 37c80 ../u-boot-build/u-boot
Configuring for ppmc7xx board...
text data bss dec hex filename
144420 9768 22464 176652 2b20c ../u-boot-build/u-boot--------------------- SUMMARY ----------------------------
Boards compiled: 354
Boards with warnings or errors: 19 (MVBC_PlwmonTQM823L_LCDBMW caddy2 MPC8536DSMPC8536DS_NANDMPC8536DS_SDCARDMPC8536DS_SPIFLASHMPC8544DS P2020DSP2020DS_36BITPM854 AP1000 ML2 sc3 EVB64260 P3G4 ZUMA )These are all PowerPC boards - if your cross compiler is set for the Power Architecture, you should not be surprised that it cannot compile your MIPS code.
Best regards,
Wolfgang Denk
Signature · 3 lines
Best Regards Xiangfu Liu http://www.openmobilefree.net
Dear =?UTF-8?B?IlhpYW5nZnUgTGl1KOWImOWQkeWvjCki?=,
Quoted 3 lines · In message <[email protected]> you wrote:
before I apply the new board patches. the "MAKEALL" compile 359 boards. after I applied the new board patches. the "MAKEALL" still compile 359 boards.
Then you obviously missed to add your board to the MAKEALL script.
Quoted 1 line
and the build log is the same. is that mean my patch is ok to send to mailist list??
No, on contrary.
Quoted 3 lines
some git question:
I try to update my local [next] branch with upstream. but I got this error:
"fatal: Couldn't find remote ref next".
Try: "git checkout master; git remote prune origin"
Quoted 2 lines
xiangfu at openmobilefree:~/u-boot/u-boot.git$ git pull origin next
fatal: Couldn't find remote ref next
There is no "next" branch in the mainline repository at this point of the release cycle.
Best regards,
Wolfgang Denk
Signature · 6 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"You know, after a woman's raised a family and so on, she wants to
start living her own life." "Whose life she's _been_ living, then?"
- Terry Pratchett, _Witches Abroad_Hi Wolfgang Denk
Quoted 4 lines · Wolfgang Denk
Dear =?UTF-8?B?IlhpYW5nZnUgTGl1KOWImOWQkeWvjCki?=,
Quoted 1 line · In message<[email protected]> you wrote:
Quoted 8 lines
Quoted 2 lines
before I apply the new board patches. the "MAKEALL" compile 359 boards. after I applied the new board patches. the "MAKEALL" still compile 359 boards.
Then you obviously missed to add your board to the MAKEALL script.
Quoted 1 line
and the build log is the same. is that mean my patch is ok to send to mailist list??
No, on contrary.
ok. will keep working on that today.
Quoted 5 lines
Quoted 4 lines
some git question:
I try to update my local [next] branch with upstream. but I got this error:
"fatal: Couldn't find remote ref next".
Quoted 7 lines
Try: "git checkout master; git remote prune origin"
Quoted 2 lines
xiangfu at openmobilefree:~/u-boot/u-boot.git$ git pull origin next
fatal: Couldn't find remote ref nextThere is no "next" branch in the mainline repository at this point of the release cycle.
thanks for the info.
Quoted 5 lines
Best regards,
Wolfgang Denk
thanks again :)
Signature · 3 lines
Best Regards Xiangfu Liu http://www.openmobilefree.net
Hi Wolfgang
is this patch[1] ok for "MAKEALL"?
or how to add my board "qi_lb60_config" to "MAKEALL"
I am just apply the patch_[1]. now it's making. it need several hours for "MAKEALL" in my pc. so I will got the build log several hours later. but I would also ask in list for some advice.
thanks.
Quoted 1 line · Wolfgang Denk
Then you obviously missed to add your board to the MAKEALL script.
[1]
MAKEALL +3 -1
@@ -797,7 +797,9 @@ LIST_mips=" \ ## MIPS Systems (little endian) ############################################################# -LIST_mips4kc_el="" +LIST_mips4kc_el=" \ + qi_lb60 \ +" LIST_mips5kc_el=""
Signature · 3 lines
Best Regards Xiangfu Liu http://www.openmobilefree.net
Dear Xiangfu Liu,
Quoted 3 lines · In message <[email protected]> you wrote:
is this patch[1] ok for "MAKEALL"?
or how to add my board "qi_lb60_config" to "MAKEALL"
Well, did you try it out? And did it work for you?
It looks good, buty I cannot test it.
Quoted 2 lines
I am just apply the patch_[1]. now it's making.
it need several hours for "MAKEALL" in my pc.
MIPS has only few targets - building should be much faster. You may try and find a faster machine, especially with faster storage and more RAM?
Best regards,
Wolfgang Denk
Signature · 6 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Here is an Appalachian version of management's answer to those who are concerned with the fate of the project: "Don't worry about the mule. Just load the wagon." - Mike Dennison's hillbilly uncle
Quoted 6 lines · Wolfgang Denk
Dear Xiangfu Liu,
Quoted 2 lines
is this patch[1] ok for "MAKEALL"?
or how to add my board "qi_lb60_config" to "MAKEALL"Well, did you try it out? And did it work for you?
I modify the patch to a new one[1], since this board use a new cpu named "xburst".
this new patch works fine when I run "./MAKEALL mips_el" :)
(this company name is "Ingenic". their cpu name is
xburst jz4740 #which is our board used :) xburst jz4760
just FYI.)
[1]diff --git a/MAKEALL b/MAKEALL
index 2133559..d909700 100755
MAKEALL +5 -0
@@ -806,10 +806,15 @@ LIST_au1xx0_el=" \ pb1000 \ " +LIST_xburst_el=" \ + qi_lb60 \ +" + LIST_mips_el=" \ ${LIST_mips4kc_el} \ ${LIST_mips5kc_el} \ ${LIST_au1xx0_el} \ + ${LIST_xburst_el} \ "
Signature · 3 lines
Best Regards Xiangfu Liu http://www.openmobilefree.net
Dear Xiangfu Liu,
Quoted 4 lines · In message <[email protected]> you wrote:
I modify the patch to a new one[1], since this board use a new cpu named "xburst".
this new patch works fine when I run "./MAKEALLmips_el" :)
Well, we don't want to add lists for each and every CPU, especially not for MIPS where we have only very few systems supported; which family does xburst best fit in?
Best regards,
Wolfgang Denk
Signature · 5 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Some programming languages manage to absorb change, but withstand progress. -- Epigrams in Programming, ACM SIGPLAN Sept. 1982
Hi Wolfgang
Quoted 10 lines · Wolfgang Denk
Dear Xiangfu Liu,
Quoted 4 lines · In message<[email protected]> you wrote:
I modify the patch to a new one[1], since this board use a new cpu named "xburst".
this new patch works fine when I run "./MAKEALLmips_el" :)Well, we don't want to add lists for each and every CPU, especially not for MIPS where we have only very few systems supported; which
ok. understand.
Quoted 2 lines
family does xburst best fit in?
in there website[1], they don't mention MIPS at all, but I found this in their head file:
"MIPS 4Kc (32 bit RISC)" and the gcc argument is "-march=4kc -mtune=4kc -EL -mabicalls -mips32"
here[2] is the new files for the jz4740 soc. give me some advice on this. thanks.
(some linke for our board:
http://sharism.cc/products/ben-nanonote/
http://en.qi-hardware.com/wiki/Ben_NanoNote
in this wiki you can find all the document of our boards. include hardware design files.
)
[1]
http://www.ingenic.cn/eng/productServ/AppPro/JZ4740/pfCustomPage.aspx
ftp://ftp.ingenic.cn/2soc/Jz4740_ds.pdf
[2]
.
??? arch
? ??? mips
? ??? cpu ? ? ??? xburst ? ? ??? cache.S ? ? ??? config.mk ? ? ??? cpu.c ? ? ??? interrupts.c ? ? ??? jz4740.c ? ? ??? jz_mmc.c ? ? ??? jz_mmc.h ? ? ??? jz_serial.c ? ? ??? Makefile ? ? ??? nanonote_gpm940b0.c ? ? ??? nanonote_gpm940b0.h ? ? ??? start.S ? ? ??? start_spl.S ? ? ??? usbboot.S ? ??? include
? ??? asm
? ??? jz4740.h
??? board
? ??? xburst
? ??? nanonote
? ??? config.mk ? ??? config.tmp ? ??? Makefile ? ??? nanonote.c ? ??? u-boot.lds ? ??? u-boot-nand.lds
??? drivers
? ??? mtd
? ??? nand
? ??? jz4740_nand.c
??? include
? ??? configs
? ??? nanonote.h
? ??? qi_lb60.h
??? nand_spl
??? board
? ??? xburst
? ??? nanonote
? ??? config.mk
? ??? Makefile
? ??? u-boot.lds
??? nand_boot_jz4740.c
Quoted 4 lines
Best regards,
Wolfgang Denk
Signature · 3 lines
Best Regards Xiangfu Liu http://www.openmobilefree.net
Dear Xiangfu Liu,
Quoted 6 lines · In message <[email protected]> you wrote:
in there website[1], they don't mention MIPS at all, but I found this in their head file:
"MIPS 4Kc (32 bit RISC)" and the gcc argument is "-march=4kc -mtune=4kc -EL -mabicalls -mips32"
OK. So please add the entry to the mips4kc (or mips4kc_el) list, please.
Best regards,
Wolfgang Denk
Signature · 6 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de The only way you could make a happy marriage is by cuttin' their heads off as soon as they say `I do', yes? You can't make happi- ness... - Terry Pratchett, _Witches Abroad_