[U-Boot] facing issue in compiling latest u-boot for P1020RDB(powerpc)

Hi,
I have cloned u-boot code (latest commit-id is 1ba91ba23396005ef7b42381cc21f0baf78d0d60) and trying to build P1020RDB.
But it fails.
Error log as follows:
bash-2.05a$ make P1020RDB_config
Generating include/autoconf.mk
Generating include/autoconf.mk.dep
Configuring for P1020RDB - Board: P1_P2_RDB, Options: P1020RDB
sed: -e expression #1, char 16: Extra characters after command
make: *** [P1020RDB_config] Error 1
bash-2.05a$
By looking at git log, I can observe that there are some changes in Makefile and boards.cfg file.
Is there is any change in config options for building power pc boards like P1020RDB, P2020RDB?
Thanks
Priyanka

bash-2.05a$ make P1020RDB_config
Generating include/autoconf.mk
Generating include/autoconf.mk.dep
Configuring for P1020RDB - Board: P1_P2_RDB, Options: P1020RDB
sed: -e expression #1, char 16: Extra characters after command
make: *** [P1020RDB_config] Error 1
bash-2.05a$
What's the version of sed you are running:
$ sed --version
I'm not seeing this error on my system (fedora 13 x86_64)
By looking at git log, I can observe that there are some changes in Makefile and boards.cfg file.
Is there is any change in config options for building power pc boards like P1020RDB, P2020RDB?
- k

sed version on my machine is GNU 3.02
Regards Priyanka
-----Original Message----- From: Kumar Gala [mailto:galak@kernel.crashing.org] Sent: Wednesday, October 20, 2010 11:20 AM To: Jain Priyanka-B32167 Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] facing issue in compiling latest u-boot for P1020RDB(powerpc)
bash-2.05a$ make P1020RDB_config
Generating include/autoconf.mk
Generating include/autoconf.mk.dep
Configuring for P1020RDB - Board: P1_P2_RDB, Options: P1020RDB
sed: -e expression #1, char 16: Extra characters after command
make: *** [P1020RDB_config] Error 1
bash-2.05a$
What's the version of sed you are running:
$ sed --version
I'm not seeing this error on my system (fedora 13 x86_64)
By looking at git log, I can observe that there are some changes in Makefile and boards.cfg file.
Is there is any change in config options for building power pc boards like P1020RDB, P2020RDB?
- k

Dear Jain Priyanka-B32167,
In message D6E175B6D647CC4E897E077D03FD4A5A2594AD@zin33exm22.fsl.freescale.net you wrote:
sed version on my machine is GNU 3.02
Please try updating.
Tested with sed-4.2.1 (as Kumar under F13).
Best regards,
Wolfgang Denk

Thanks Dear Wolfgang Denk and Dear Kumar Gala,
I was able to solve compilation error by upgrading sed.
Regards Priyanka
-----Original Message----- From: Wolfgang Denk [mailto:wd@denx.de] Sent: Wednesday, October 20, 2010 12:35 PM To: Jain Priyanka-B32167 Cc: Kumar Gala; u-boot@lists.denx.de Subject: Re: [U-Boot] facing issue in compiling latest u-boot for P1020RDB(powerpc)
Dear Jain Priyanka-B32167,
In message D6E175B6D647CC4E897E077D03FD4A5A2594AD@zin33exm22.fsl.freescale.net you wrote:
sed version on my machine is GNU 3.02
Please try updating.
Tested with sed-4.2.1 (as Kumar under F13).
Best regards,
Wolfgang Denk

Dear Jain Priyanka-B32167,
In message D6E175B6D647CC4E897E077D03FD4A5A2594AC@zin33exm22.fsl.freescale.net you wrote:
I have cloned u-boot code (latest commit-id is 1ba91ba23396005ef7b42381cc21f0baf78d0d60) and trying to build P1020RDB.
But it fails.
Hm... please retry current top of tree. I get a number of warnings, but these are mostly harmless:
-> ./MAKEALL P1020RDB P2020RDB Configuring for P1020RDB - Board: P1_P2_RDB, Options: P1020RDB e1000.c: In function 'e1000_transmit': e1000.c:5028: warning: passing argument 1 of 'virt_to_phys' discards qualifiers from pointer target type fdt_support.c: In function 'fdt_fixup_memory_banks': fdt_support.c:399: warning: unused variable 'sizecell' fdt_support.c:399: warning: unused variable 'addrcell' text data bss dec hex filename 370540 34448 268116 673104 a4550 ./u-boot Configuring for P2020RDB - Board: P1_P2_RDB, Options: P2020 e1000.c: In function 'e1000_transmit': e1000.c:5028: warning: passing argument 1 of 'virt_to_phys' discards qualifiers from pointer target type fdt_support.c: In function 'fdt_fixup_memory_banks': fdt_support.c:399: warning: unused variable 'sizecell' fdt_support.c:399: warning: unused variable 'addrcell' text data bss dec hex filename 370800 34456 268116 673372 a465c ./u-boot
--------------------- SUMMARY ---------------------------- Boards compiled: 2 Boards with warnings or errors: 2 ( P1020RDB P2020RDB ) ----------------------------------------------------------
Best regards,
Wolfgang Denk
participants (3)
-
Jain Priyanka-B32167
-
Kumar Gala
-
Wolfgang Denk