Skip to contentSkip to conversation

svn commit: trunk/buildroot/target/device

Buildroot aldot at uclibc.org 3 participants 6 messages Sep 25, 2007 – Sep 26, 2007

lore
Share & tools
lore
#0 lore raw

Author: aldot
Date: 2007-09-25 15:04:39 -0700 (Tue, 25 Sep 2007) New Revision: 20029

Log:
- comment out bad logic

Modified:
trunk/buildroot/target/device/Toolchain.in

Changeset:
Modified: trunk/buildroot/target/device/Toolchain.in
===================================================================

buildroot/target/device/Toolchain.in +5 -5
@@ -1,7 +1,7 @@
 if BR2_TOOLCHAIN_EXTERNAL_SOURCE
 choice
 	prompt "Source location:"
-	default BR2_TOOLCHAIN_ATMEL_AVR32 if BR2_avr32
+#	default BR2_TOOLCHAIN_ATMEL_AVR32 if BR2_avr32
 	help
 	  Select whether to use the toolchain built by the buildroot
 	  system or an external pre-built toolchain.
@@ -9,10 +9,10 @@
 config BR2_TOOLCHAIN_ATMEL_AVR32
 	bool "Use prepatched source for AVR32 toolchain"
 	depends on BR2_avr32
-	depends on BR2_GCC_VERSION_4_1_2
-	depends on BR2_GDB_VERSION_6_4 || !BR2_PACKAGE_GDB
-	depends on BR2_BINUTILS_VERSION_2_17
-	depends on BR2_UCLIBC_VERSION_0_9_28_3
+#	depends on BR2_GCC_VERSION_4_1_2
+#	depends on BR2_GDB_VERSION_6_4 || !BR2_PACKAGE_GDB
+#	depends on BR2_BINUTILS_VERSION_2_17
+#	depends on BR2_UCLIBC_VERSION_0_9_28_3
 
 endchoice
 
#1 lore raw

tis 2007-09-25 klockan 15:04 -0700 skrev aldot at uclibc.org:

Quoted 28 lines

Author: aldot
Date: 2007-09-25 15:04:39 -0700 (Tue, 25 Sep 2007) New Revision: 20029

Log:
- comment out bad logic

Modified:
trunk/buildroot/target/device/Toolchain.in

Changeset:
Modified: trunk/buildroot/target/device/Toolchain.in
===================================================================

buildroot/target/device/Toolchain.in +1 -1
@@ -1,7 +1,7 @@
 if BR2_TOOLCHAIN_EXTERNAL_SOURCE
 choice
 	prompt "Source location:"
-	default BR2_TOOLCHAIN_ATMEL_AVR32 if BR2_avr32
+#	default BR2_TOOLCHAIN_ATMEL_AVR32 if BR2_avr32
 	help
 	  Select whether to use the toolchain built by the buildroot
 	  system or an external pre-built toolchain.
@@ -9,10 +9,10 @@
 config BR2_TOOLCHAIN_ATMEL_AVR32

buildroot/target/device/Toolchain.in line 15

Quoted 10 lines
buildroot/target/device/Toolchain.in +4 -4
 	bool "Use prepatched source for AVR32 toolchain"
 	depends on BR2_avr32
-	depends on BR2_GCC_VERSION_4_1_2
-	depends on BR2_GDB_VERSION_6_4 || !BR2_PACKAGE_GDB
-	depends on BR2_BINUTILS_VERSION_2_17
-	depends on BR2_UCLIBC_VERSION_0_9_28_3
+#	depends on BR2_GCC_VERSION_4_1_2
+#	depends on BR2_GDB_VERSION_6_4 || !BR2_PACKAGE_GDB
+#	depends on BR2_BINUTILS_VERSION_2_17
+#	depends on BR2_UCLIBC_VERSION_0_9_28_3

Please revert this patch and fix the real problem.

BR
Ulf Samuelsson

Quoted 8 lines
buildroot/target/device/Toolchain.in +0 -0
 endchoice
 
 

_______________________________________________
buildroot mailing list
buildroot at uclibc.org
http://busybox.net/mailman/listinfo/buildroot

#2 lore raw

[Buildroot] Buildroot for at91rm9200df

Hi, Ulf:

Your buildroot from at91 site is working nice, but I couldn't build for this target when I checked out yesterday daily snapshot. I tried to use your at91rm9200df.config as a reference, had to add some defines (like BR2_STRIP_strip) but looks like it still lacks something (I have attached it) - builds stops without visible failures yet filesystem is not completely built. For example, there are no all these system utilites (like ls, rm, cd, etc... Which are actually busybox applets). Busybox executable gets created but is not copied into root filesystem... Some misconfiguration I guess.

Do you have config file for this target which will work with latest buildroot or config file is not enough and some additional "massaging" is required (you run project/config/conf for example in your buildroot)? Or this target is not supported by simple way by latest buildroot?

Thanks,

Leonid.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: at91rm9200df.config
Type: application/octet-stream
Size: 17318 bytes
Desc: at91rm9200df.config
Url : http://busybox.net/lists/buildroot/attachments/20070925/6d2b2a90/attachment.obj

#3 lore raw

[Buildroot] Buildroot for at91rm9200df

tis 2007-09-25 klockan 16:53 -0700 skrev Leonid:

Quoted 12 lines

Hi, Ulf:

Your buildroot from at91 site is working nice, but I couldn't build for this target when I checked out yesterday daily snapshot. I tried to use your at91rm9200df.config as a reference, had to add some defines (like BR2_STRIP_strip) but looks like it still lacks something (I have attached it) - builds stops without visible failures yet filesystem is not completely built. For example, there are no all these system utilites (like ls, rm, cd, etc... Which are actually busybox applets). Busybox executable gets created but is not copied into root filesystem... Some misconfiguration I guess.

Quoted 5 lines

Do you have config file for this target which will work with latest buildroot or config file is not enough and some additional "massaging" is required (you run project/config/conf for example in your buildroot)? Or this target is not supported by simple way by latest buildroot?

It was some time since I looked at the AT91RM9200DF board, so things might have happened.
I will see If I cen get time to retest.

Quoted 4 lines

Thanks,

Leonid.

#4 lore raw

[Buildroot] Buildroot for at91rm9200df

Hi, Ulf:

Thanks a lot for your reply. Meanwhile I made some progress and have found that my busybox-xxx.config file was empty - naturally, busybox applets were not installed!

So, this problem is over, filesystem is fully populated. However it didn't work yet when I NFS there - no console output. I have found that devices in /dev directory have not been created properly (they don't look as device nodes). See tty0 entry for example:

# ls -al /dev/tty*
-rw-rw-rw-    1 501      leonid          0 Sep 25  2007 /dev/tty
-rw-rw-rw-    1 501      leonid          0 Sep 25  2007 /dev/tty0

In filesystem which I have built from your buildroot (and which works) situation is quite different:

crw-rw---- 1 root root 4, 0 Dec 31 17:00 tty0

So, I have some problem while creating devices. I will look into that but let me know if you see the root cause right away.

Thanks,

Leonid.

-----Original Message-----
From: Ulf Samuelsson [mailto:ulf at atmel.com]
Sent: Wednesday, September 26, 2007 1:56 AM
To: Leonid
Cc: buildroot at uclibc.org
Subject: Re: Buildroot for at91rm9200df

tis 2007-09-25 klockan 16:53 -0700 skrev Leonid:

Quoted 3 lines

Hi, Ulf:

Your buildroot from at91 site is working nice, but I couldn't build

for

Quoted 1 line

this target when I checked out yesterday daily snapshot. I tried to

use

Quoted 11 lines

your at91rm9200df.config as a reference, had to add some defines (like BR2_STRIP_strip) but looks like it still lacks something (I have attached it) - builds stops without visible failures yet filesystem is not completely built. For example, there are no all these system utilites (like ls, rm, cd, etc... Which are actually busybox applets). Busybox executable gets created but is not copied into root filesystem... Some misconfiguration I guess.

Do you have config file for this target which will work with latest buildroot or config file is not enough and some additional "massaging" is required (you run project/config/conf for example in your

buildroot)?

Quoted 2 lines

Or this target is not supported by simple way by latest buildroot?

It was some time since I looked at the AT91RM9200DF board, so things might have happened.
I will see If I cen get time to retest.

Quoted 4 lines

Thanks,

Leonid.

#5 lore raw

[Buildroot] Buildroot for at91rm9200df

I cannot find anyhting wrong with my mkdevs operation. On which step project_build_<ARCH>/root/dev directory is populated?
Can project_build_<ARCH>/root be used for NFSing as it is (in buildroot-atmel it could) or some special massaging is needed?

Also I'm using separately built 2.6.16 kernel (it works with buildroot-atmel). Shall I use newer Linux kernel instead?

Thanks,

Leonid.
-----Original Message-----
From: [email protected] [mailto:buildroot-bounces at uclibc.org] On Behalf Of Leonid
Sent: Wednesday, September 26, 2007 6:54 AM
To: ulf at atmel.com
Cc: buildroot at uclibc.org
Subject: Re: [Buildroot] Buildroot for at91rm9200df

Hi, Ulf:

Thanks a lot for your reply. Meanwhile I made some progress and have found that my busybox-xxx.config file was empty - naturally, busybox applets were not installed!

So, this problem is over, filesystem is fully populated. However it didn't work yet when I NFS there - no console output. I have found that devices in /dev directory have not been created properly (they don't look as device nodes). See tty0 entry for example:

# ls -al /dev/tty*
-rw-rw-rw-    1 501      leonid          0 Sep 25  2007 /dev/tty
-rw-rw-rw-    1 501      leonid          0 Sep 25  2007 /dev/tty0

In filesystem which I have built from your buildroot (and which works) situation is quite different:

crw-rw---- 1 root root 4, 0 Dec 31 17:00 tty0

So, I have some problem while creating devices. I will look into that but let me know if you see the root cause right away.

Thanks,

Leonid.

-----Original Message-----
From: Ulf Samuelsson [mailto:ulf at atmel.com]
Sent: Wednesday, September 26, 2007 1:56 AM
To: Leonid
Cc: buildroot at uclibc.org
Subject: Re: Buildroot for at91rm9200df

tis 2007-09-25 klockan 16:53 -0700 skrev Leonid:

Quoted 3 lines

Hi, Ulf:

Your buildroot from at91 site is working nice, but I couldn't build

for

Quoted 1 line

this target when I checked out yesterday daily snapshot. I tried to

use

Quoted 4 lines

your at91rm9200df.config as a reference, had to add some defines (like BR2_STRIP_strip) but looks like it still lacks something (I have attached it) - builds stops without visible failures yet filesystem is

Quoted 8 lines

not completely built. For example, there are no all these system utilites (like ls, rm, cd, etc... Which are actually busybox applets). Busybox executable gets created but is not copied into root filesystem... Some misconfiguration I guess.

Do you have config file for this target which will work with latest buildroot or config file is not enough and some additional "massaging" is required (you run project/config/conf for example in your

buildroot)?

Quoted 2 lines

Or this target is not supported by simple way by latest buildroot?

It was some time since I looked at the AT91RM9200DF board, so things might have happened.
I will see If I cen get time to retest.

Quoted 4 lines

Thanks,

Leonid.

_______________________________________________
buildroot mailing list
buildroot at uclibc.org
http://busybox.net/mailman/listinfo/buildroot