Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] BR-2009.01 U-Boot not working on my AT91SAM9261ek Board
@ 2009-02-19  0:58 QuickX
  2009-02-19 11:12 ` Peter Korsgaard
  0 siblings, 1 reply; 6+ messages in thread
From: QuickX @ 2009-02-19  0:58 UTC (permalink / raw)
  To: buildroot

I've finally had some time to attempt to update my project to BR-2009.02 and noticed some things, so thought I'd share.

1. microperl (default config option) doesn't build on Kubuntu 8.10 (Make Errors).
2. php (default config option) doesn't build on Kubuntu 8.10 (it doesn't try to download but complains it can't find it in the dl directory).
3. U-Boot (Add architecture specific patch -> Add AT91 specific patches to u-Boot) causes u-Boot to not work on board.

Little more info on "3" is if this option is set (default) then Hyperterminal sits at the at91bootstrap message forever and doesn't load u-boot.  If I turn this option off and then issue the following, it works.

$ make menuconfig (turn off u-boot at91 patch)
$ rm -rf *build_*
$ make



The Hyperterminal (in the non-working case, with patch set) looks like this (and sits there forever):
>AT91Bootstrap-2.10...AT45DB642D detected
>From:  [0x00008400] To:        [0x23F00000] Size:      [0x00032000]
.......SUCCESS
>Start: [0x23F00000] Error Timeout
Error Timeout
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20090218/b9520fe6/attachment.htm>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] BR-2009.01 U-Boot not working on my AT91SAM9261ek Board
  2009-02-19  0:58 [Buildroot] BR-2009.01 U-Boot not working on my AT91SAM9261ek Board QuickX
@ 2009-02-19 11:12 ` Peter Korsgaard
  2009-02-19 13:39   ` Ulf Samuelsson
  2009-02-19 21:01   ` QuickX
  0 siblings, 2 replies; 6+ messages in thread
From: Peter Korsgaard @ 2009-02-19 11:12 UTC (permalink / raw)
  To: buildroot

>>>>> "QuickX" == QuickX  <quickx@hotmail.com> writes:

Hi,

 QuickX> I've finally had some time to attempt to update my project to
 QuickX> BR-2009.02 and noticed some things, so thought I'd share.
 
 QuickX> 1. microperl (default config option) doesn't build on Kubuntu
 QuickX> 8.10 (Make Errors).

Details please.

 QuickX> 2. php (default config option) doesn't build on Kubuntu 8.10
 QuickX> (it doesn't try to download but complains it can't find it in
 QuickX> the dl directory).

Details please.

 QuickX> 3. U-Boot (Add architecture specific patch -> Add AT91
 QuickX> specific patches to u-Boot) causes u-Boot to not work on
 QuickX> board.
 
 QuickX> Little more info on "3" is if this option is set (default)
 QuickX> then Hyperterminal sits at the at91bootstrap message forever
 QuickX> and doesn't load u-boot.  If I turn this option off and then
 QuickX> issue the following, it works.

Sigh, Ulf - This is your mess, please sort it out.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] BR-2009.01 U-Boot not working on my AT91SAM9261ek Board
  2009-02-19 11:12 ` Peter Korsgaard
@ 2009-02-19 13:39   ` Ulf Samuelsson
  2009-02-19 14:13     ` Thiago A. Corrêa
  2009-02-19 21:01   ` QuickX
  1 sibling, 1 reply; 6+ messages in thread
From: Ulf Samuelsson @ 2009-02-19 13:39 UTC (permalink / raw)
  To: buildroot

Sent: Thursday, February 19, 2009 12:12 PM
Subject: Re: [Buildroot] BR-2009.01 U-Boot not working on my AT91SAM9261ek 
Board


>>>>>> "QuickX" == QuickX  <quickx@hotmail.com> writes:
>
> Hi,
>
> QuickX> I've finally had some time to attempt to update my project to
> QuickX> BR-2009.02 and noticed some things, so thought I'd share.
>
> QuickX> 1. microperl (default config option) doesn't build on Kubuntu
> QuickX> 8.10 (Make Errors).
>
> Details please.
>
> QuickX> 2. php (default config option) doesn't build on Kubuntu 8.10
> QuickX> (it doesn't try to download but complains it can't find it in
> QuickX> the dl directory).
>
> Details please.
>
> QuickX> 3. U-Boot (Add architecture specific patch -> Add AT91
> QuickX> specific patches to u-Boot) causes u-Boot to not work on
> QuickX> board.
>
> QuickX> Little more info on "3" is if this option is set (default)
> QuickX> then Hyperterminal sits at the at91bootstrap message forever
> QuickX> and doesn't load u-boot.  If I turn this option off and then
> QuickX> issue the following, it works.
>


U-Boot builds if you build manually:
make sure that the buildroot toolchain is in your path.
$make u-boot-unpacked (or similar)
$ cd $(UBOOT_DIR)
$ make <board>
$ make

I have seen this problem as well, that is why I reintroduced the 
1.2.0-atmel.

> Sigh, Ulf - This is your mess, please sort it out.

When I got time.

>
> -- 
> Bye, Peter Korsgaard
>



Best Regards
Ulf Samuelsson                ulf at atmel.com
Atmel Nordic AB
Mail:  Box 2033, 174 02 Sundbyberg, Sweden
Visit:  Kavalleriv?gen 24, 174 58 Sundbyberg, Sweden
Phone +46 (8) 441 54 22     Fax +46 (8) 441 54 29
GSM    +46 (706) 22 44 57

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] BR-2009.01 U-Boot not working on my AT91SAM9261ek Board
  2009-02-19 13:39   ` Ulf Samuelsson
@ 2009-02-19 14:13     ` Thiago A. Corrêa
  0 siblings, 0 replies; 6+ messages in thread
From: Thiago A. Corrêa @ 2009-02-19 14:13 UTC (permalink / raw)
  To: buildroot

Hi,

On Thu, Feb 19, 2009 at 10:39 AM, Ulf Samuelsson
<ulf.samuelsson@atmel.com> wrote:
> I have seen this problem as well, that is why I reintroduced the
> 1.2.0-atmel.

   Could this be a problem with 2009 in general? It also doesn't work
with AVR32, but 2008 version available in buildroot does. I tried it
on the NGW100.

Kind Regards,
   Thiago A. Correa

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] BR-2009.01 U-Boot not working on my AT91SAM9261ek Board
  2009-02-19 11:12 ` Peter Korsgaard
  2009-02-19 13:39   ` Ulf Samuelsson
@ 2009-02-19 21:01   ` QuickX
  2009-02-20 15:14     ` Peter Korsgaard
  1 sibling, 1 reply; 6+ messages in thread
From: QuickX @ 2009-02-19 21:01 UTC (permalink / raw)
  To: buildroot

> Details please (miniperl)
It's very similar to the problem with the rc4'ish post I made 
(http://lists.busybox.net/pipermail/buildroot/2009-February/025793.html). 
Not 100% exactly the same, here is a snip of the last few lines.

---------------------------------------------
---------------------------------------------
[[SNIP]]
Run make depend now? [y]
make[1]: Entering directory `/home/dustin/BR-microperl/build_arm/perl-5.8.8'
sh ./makedepend MAKE=make
make[2]: Entering directory `/home/dustin/BR-microperl/build_arm/perl-5.8.8'
sh writemain lib/auto/DynaLoader/DynaLoader.a  > perlmain.c
rm -f opmini.c
cp op.c opmini.c
echo  av.c scope.c op.c doop.c doio.c dump.c hv.c mg.c reentr.c perl.c 
perly.c pp.c pp_hot.c pp_ctl.c pp_sys.c regcomp.c regexec.c utf8.c gv.c sv.c 
taint.c toke.c util.c deb.c run.c universal.c xsutils.c pad.c globals.c 
perlio.c perlapi.c numeric.c locale.c pp_pack.c pp_sort.c miniperlmain.c 
perlmain.c opmini.c | tr ' ' '\n' >.clist
make[2]: Leaving directory `/home/dustin/BR-microperl/build_arm/perl-5.8.8'
./makedepend: 1: Syntax error: Unterminated quoted string
make[1]: *** [depend] Error 2
make[1]: Leaving directory `/home/dustin/BR-microperl/build_arm/perl-5.8.8'

If you compile perl5 on a different machine or from a different object
directory, copy the Policy.sh file from this object directory to the
new one before you run Configure -- this will help you with most of
the policy defaults.

touch /home/dustin/BR-microperl/build_arm/perl-5.8.8/.host_configured
/home/dustin/BR-microperl/toolchain_build_arm/bin/sed -i -e 
's/^.*<command-line>.*//g' 
/home/dustin/BR-microperl/build_arm/perl-5.8.8/makefile
/home/dustin/BR-microperl/toolchain_build_arm/bin/sed -i -e 
's/^.*<command-line>.*//g' 
/home/dustin/BR-microperl/build_arm/perl-5.8.8/x2p/makefile
/home/dustin/BR-microperl/toolchain_build_arm/bin/sed: can't read 
/home/dustin/BR-microperl/build_arm/perl-5.8.8/x2p/makefile: No such file or 
directory
make: *** 
[/home/dustin/BR-microperl/build_arm/perl-5.8.8/.host_configured_and_fixed] 
Error 2
---------------------------------------------
---------------------------------------------


> Details please (php)
It complains that "*/dl/php-5.2.8.tar.bz2" doesn't exist (it doesn't), but I 
can't see anywhere where it attempted to download...  It would probably work 
if I manually got php-5.2.8.tar.bz2 file and put it in my download 
*guessing*.  I don't use either php or miniperl on my board, I was just 
testing the default settings.
---------------------------------------------
---------------------------------------------
[[SNIP]]
cp -f /home/dustin/BR-php/build_arm/mtd_orig/docfdisk 
/home/dustin/BR-php/project_build_arm/at91sam9261ek/root/usr/sbin/docfdisk
/home/dustin/BR-php/build_arm/staging_dir/usr/bin/arm-linux-uclibc-strip --remove-section=.comment 
 --remove-section=.note 
/home/dustin/BR-php/project_build_arm/at91sam9261ek/root/usr/sbin/docfdisk
cp -f /home/dustin/BR-php/build_arm/mtd_orig/doc_loadbios 
/home/dustin/BR-php/project_build_arm/at91sam9261ek/root/usr/sbin/doc_loadbios
/home/dustin/BR-php/build_arm/staging_dir/usr/bin/arm-linux-uclibc-strip --remove-section=.comment 
 --remove-section=.note 
/home/dustin/BR-php/project_build_arm/at91sam9261ek/root/usr/sbin/doc_loadbios
bzcat /home/dustin/BR-php/dl/php-5.2.8.tar.bz2 | tar -C 
/home/dustin/BR-php/build_arm   -xf -
bzcat: Can't open input file /home/dustin/BR-php/dl/php-5.2.8.tar.bz2: No 
such file or directory.
tar: This does not look like a tar archive
tar: Error exit delayed from previous errors
make: *** [/home/dustin/BR-php/build_arm/php-5.2.8/.unpacked] Error 2
---------------------------------------------
---------------------------------------------



> Sigh, Ulf - This is your mess, please sort it out.
I'm not sure what the AT91 u-boot patch adds but I haven't run into any 
problems with u-boot on my at91sam9261ek board, when the patch disabled. 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] BR-2009.01 U-Boot not working on my AT91SAM9261ek Board
  2009-02-19 21:01   ` QuickX
@ 2009-02-20 15:14     ` Peter Korsgaard
  0 siblings, 0 replies; 6+ messages in thread
From: Peter Korsgaard @ 2009-02-20 15:14 UTC (permalink / raw)
  To: buildroot

>>>>> "QuickX" == QuickX  <quickx@hotmail.com> writes:

Hi,


 >> Details please (php)
 QuickX> It complains that "*/dl/php-5.2.8.tar.bz2" doesn't exist (it doesn't),

Fixed in r25403.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-02-20 15:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-19  0:58 [Buildroot] BR-2009.01 U-Boot not working on my AT91SAM9261ek Board QuickX
2009-02-19 11:12 ` Peter Korsgaard
2009-02-19 13:39   ` Ulf Samuelsson
2009-02-19 14:13     ` Thiago A. Corrêa
2009-02-19 21:01   ` QuickX
2009-02-20 15:14     ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox