* [U-Boot] question about add new board to MAKEALL
@ 2010-06-28 2:41 "Xiangfu Liu(刘向富)"
2010-06-28 7:43 ` Wolfgang Denk
0 siblings, 1 reply; 11+ messages in thread
From: "Xiangfu Liu(刘向富)" @ 2010-06-28 2:41 UTC (permalink / raw)
To: u-boot
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]------------------
diff --git a/MAKEALL b/MAKEALL
index d6d5f5b..3b6953b 100755
--- a/MAKEALL
+++ b/MAKEALL
@@ -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 )
----------------------------------------------------------
--
Best Regards
Xiangfu Liu
http://www.openmobilefree.net
^ permalink raw reply related [flat|nested] 11+ messages in thread* [U-Boot] question about add new board to MAKEALL
2010-06-28 2:41 [U-Boot] question about add new board to MAKEALL "Xiangfu Liu(刘向富)"
@ 2010-06-28 7:43 ` Wolfgang Denk
2010-07-19 3:42 ` "Xiangfu Liu(刘向富)"
0 siblings, 1 reply; 11+ messages in thread
From: Wolfgang Denk @ 2010-06-28 7:43 UTC (permalink / raw)
To: u-boot
Dear =?UTF-8?B?IlhpYW5nZnUgTGl1KOWImOWQkeWvjCki?=,
In message <4C280BE4.8030207@openmobilefree.net> 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.
>
> 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??
No, never. Maybe you did not read the documentation and forgot to set
the CROSS_COMPILE environment variable?
> 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 )
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
--
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_
^ permalink raw reply [flat|nested] 11+ messages in thread
* [U-Boot] question about add new board to MAKEALL
2010-06-28 7:43 ` Wolfgang Denk
@ 2010-07-19 3:42 ` "Xiangfu Liu(刘向富)"
2010-07-19 17:45 ` Wolfgang Denk
0 siblings, 1 reply; 11+ messages in thread
From: "Xiangfu Liu(刘向富)" @ 2010-07-19 3:42 UTC (permalink / raw)
To: u-boot
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$
On 06/28/2010 03:43 PM, Wolfgang Denk wrote:
> Dear =?UTF-8?B?IlhpYW5nZnUgTGl1KOWImOWQkeWvjCki?=,
>
> In message<4C280BE4.8030207@openmobilefree.net> 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.
>>
>> 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??
>
> No, never. Maybe you did not read the documentation and forgot to set
> the CROSS_COMPILE environment variable?
>
>> 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 )
>
> 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
>
--
Best Regards
Xiangfu Liu
http://www.openmobilefree.net
^ permalink raw reply [flat|nested] 11+ messages in thread
* [U-Boot] question about add new board to MAKEALL
2010-07-19 3:42 ` "Xiangfu Liu(刘向富)"
@ 2010-07-19 17:45 ` Wolfgang Denk
2010-07-20 2:30 ` "Xiangfu Liu(刘向富)"
2010-07-20 8:02 ` Xiangfu Liu
0 siblings, 2 replies; 11+ messages in thread
From: Wolfgang Denk @ 2010-07-19 17:45 UTC (permalink / raw)
To: u-boot
Dear =?UTF-8?B?IlhpYW5nZnUgTGl1KOWImOWQkeWvjCki?=,
In message <4C43C9A9.7020707@openmobilefree.net> 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.
> and the build log is the same. is that mean my patch is ok to send to mailist list??
No, on contrary.
> 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"
> 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
--
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_
^ permalink raw reply [flat|nested] 11+ messages in thread* [U-Boot] question about add new board to MAKEALL
2010-07-19 17:45 ` Wolfgang Denk
@ 2010-07-20 2:30 ` "Xiangfu Liu(刘向富)"
2010-07-20 8:02 ` Xiangfu Liu
1 sibling, 0 replies; 11+ messages in thread
From: "Xiangfu Liu(刘向富)" @ 2010-07-20 2:30 UTC (permalink / raw)
To: u-boot
Hi Wolfgang Denk
On 07/20/2010 01:45 AM, Wolfgang Denk wrote:
> Dear =?UTF-8?B?IlhpYW5nZnUgTGl1KOWImOWQkeWvjCki?=,
>
> In message<4C43C9A9.7020707@openmobilefree.net> 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.
>
>> 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.
>
>> 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"
>
>> 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.
thanks for the info.
>
> Best regards,
>
> Wolfgang Denk
>
thanks again :)
--
Best Regards
Xiangfu Liu
http://www.openmobilefree.net
^ permalink raw reply [flat|nested] 11+ messages in thread
* [U-Boot] question about add new board to MAKEALL
2010-07-19 17:45 ` Wolfgang Denk
2010-07-20 2:30 ` "Xiangfu Liu(刘向富)"
@ 2010-07-20 8:02 ` Xiangfu Liu
2010-07-20 9:51 ` Wolfgang Denk
1 sibling, 1 reply; 11+ messages in thread
From: Xiangfu Liu @ 2010-07-20 8:02 UTC (permalink / raw)
To: u-boot
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.
On 07/20/2010 01:45 AM, Wolfgang Denk wrote:
> Then you obviously missed to add your board to the MAKEALL script.
[1]
diff --git a/MAKEALL b/MAKEALL
index 2133559..ac9c16d 100755
--- a/MAKEALL
+++ b/MAKEALL
@@ -797,7 +797,9 @@ LIST_mips=" \
## MIPS Systems (little endian)
#############################################################
-LIST_mips4kc_el=""
+LIST_mips4kc_el=" \
+ qi_lb60 \
+"
LIST_mips5kc_el=""
--
Best Regards
Xiangfu Liu
http://www.openmobilefree.net
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [U-Boot] question about add new board to MAKEALL
2010-07-20 8:02 ` Xiangfu Liu
@ 2010-07-20 9:51 ` Wolfgang Denk
2010-07-20 14:34 ` Xiangfu Liu
0 siblings, 1 reply; 11+ messages in thread
From: Wolfgang Denk @ 2010-07-20 9:51 UTC (permalink / raw)
To: u-boot
Dear Xiangfu Liu,
In message <4C45580F.6080708@openmobilefree.net> 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.
> 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
--
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
^ permalink raw reply [flat|nested] 11+ messages in thread
* [U-Boot] question about add new board to MAKEALL
2010-07-20 9:51 ` Wolfgang Denk
@ 2010-07-20 14:34 ` Xiangfu Liu
2010-07-20 15:47 ` Wolfgang Denk
0 siblings, 1 reply; 11+ messages in thread
From: Xiangfu Liu @ 2010-07-20 14:34 UTC (permalink / raw)
To: u-boot
On 07/20/2010 05:51 PM, Wolfgang Denk wrote:
> Dear Xiangfu Liu,
>> 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
--- a/MAKEALL
+++ b/MAKEALL
@@ -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} \
"
--
Best Regards
Xiangfu Liu
http://www.openmobilefree.net
^ permalink raw reply related [flat|nested] 11+ messages in thread* [U-Boot] question about add new board to MAKEALL
2010-07-20 14:34 ` Xiangfu Liu
@ 2010-07-20 15:47 ` Wolfgang Denk
2010-07-21 0:47 ` Xiangfu Liu
0 siblings, 1 reply; 11+ messages in thread
From: Wolfgang Denk @ 2010-07-20 15:47 UTC (permalink / raw)
To: u-boot
Dear Xiangfu Liu,
In message <4C45B400.2000509@openmobilefree.net> 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 "./MAKEALL mips_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
--
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
^ permalink raw reply [flat|nested] 11+ messages in thread
* [U-Boot] question about add new board to MAKEALL
2010-07-20 15:47 ` Wolfgang Denk
@ 2010-07-21 0:47 ` Xiangfu Liu
2010-07-21 8:28 ` Wolfgang Denk
0 siblings, 1 reply; 11+ messages in thread
From: Xiangfu Liu @ 2010-07-21 0:47 UTC (permalink / raw)
To: u-boot
Hi Wolfgang
On 07/20/2010 11:47 PM, Wolfgang Denk wrote:
> Dear Xiangfu Liu,
>
> In message<4C45B400.2000509@openmobilefree.net> 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 "./MAKEALL mips_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.
> 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
> Best regards,
>
> Wolfgang Denk
>
--
Best Regards
Xiangfu Liu
http://www.openmobilefree.net
^ permalink raw reply [flat|nested] 11+ messages in thread* [U-Boot] question about add new board to MAKEALL
2010-07-21 0:47 ` Xiangfu Liu
@ 2010-07-21 8:28 ` Wolfgang Denk
0 siblings, 0 replies; 11+ messages in thread
From: Wolfgang Denk @ 2010-07-21 8:28 UTC (permalink / raw)
To: u-boot
Dear Xiangfu Liu,
In message <4C464389.6070207@openmobilefree.net> 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
--
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_
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2010-07-21 8:28 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-28 2:41 [U-Boot] question about add new board to MAKEALL "Xiangfu Liu(刘向富)"
2010-06-28 7:43 ` Wolfgang Denk
2010-07-19 3:42 ` "Xiangfu Liu(刘向富)"
2010-07-19 17:45 ` Wolfgang Denk
2010-07-20 2:30 ` "Xiangfu Liu(刘向富)"
2010-07-20 8:02 ` Xiangfu Liu
2010-07-20 9:51 ` Wolfgang Denk
2010-07-20 14:34 ` Xiangfu Liu
2010-07-20 15:47 ` Wolfgang Denk
2010-07-21 0:47 ` Xiangfu Liu
2010-07-21 8:28 ` Wolfgang Denk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox