Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] New version of AT91 Buildroot available
@ 2007-04-23  9:01 Ulf Samuelsson
  2007-04-23 18:41 ` Diego A. Fons
  0 siblings, 1 reply; 4+ messages in thread
From: Ulf Samuelsson @ 2007-04-23  9:01 UTC (permalink / raw)
  To: buildroot

If anyone wants to see how it works in practice,
then running the attached script will download my
new buildroot, and build a complete set of functions
to get a board running with Linux.


It will build
at91-bootstrap-2.3 with my private additions
u-boot-1.2.0    with my private additions
linux-2.6.20.4    maxim + experimental patches
rootfs (jffs2)
rootfs (ext2)

for the following configurations:
at91rm9200df*      at91rm9200ek running from dataflashcard
at91sam9260dfc    at91sam9260ek running from dataflashcard
at91sam9261ek*    at91sam9261 running from internal dataflash
at91sam9263ek    at91sam9263ek running from dataflashcard

Only the two boards marked '*' have been run on actual H/W yet,
the other two boards will be tested when I get my boards back.

Don't try to get support for these things from Atmel
since they do not know anything about the internals.

The stuff is also available at:
www.at91.com 
in the AT91 Buildroot project.
--------------------------------------------------------------

#!/bin/bash
TOPDIR=`pwd`
BUILDROOT=buildroot-atmel
BUILDROOT_VER=2007-04-22
BUILDROOT_SOURCE=${BUILDROOT}-${BUILDROOT_VER}.cpio.bz2
BUILDROOT_SITE=ftp://at91dist:distrib at 81.80.104.162/AT91_Third_Party_Design_Flow/Linux_Host/Source
DL_DIR=${TOPDIR}/Source
UNZIP=bzcat

function	prepare_directories()
{
	mkdir	-p	/tftpboot
	mkdir	-p	/usr/local/arm
	mkdir	-p	/usr/local/install/downloads
}

function	get_buildroot()
{
	if ! [ -d ${BUILDROOT} ] ; then
		mkdir -p ${DL_DIR}
		wget	-P ${DL_DIR}	${BUILDROOT_SITE}/${BUILDROOT_SOURCE}
		${UNZIP}	${DL_DIR}/${BUILDROOT_SOURCE} | cpio -idv
	fi
}

function	make_board()
{
	cd	${BUILDROOT}
	echo	"building board $1"
	make 	B=$1 board
	make	$2
	make	saveconfig
	cd	${TOPDIR}
}

function	make_all_boards()
{
	make_board	at91rm9200df	$1
	make_board	at91sam9260dfc	$1
	make_board	at91sam9261ek	$1
	make_board	at91sam9263ek	$1
}


prepare_directories
get_buildroot
make -C ${BUILDROOT} menuconfig
make_all_boards	source
make_all_boards


-- 
Best Regards
Ulf Samuelsson



-------------- next part --------------
A non-text attachment was scrubbed...
Name: make_boards.sh
Type: application/x-shellscript
Size: 969 bytes
Desc: not available
Url : http://busybox.net/lists/buildroot/attachments/20070423/2a408fb7/attachment.bin 

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

* [Buildroot] New version of AT91 Buildroot available
  2007-04-23  9:01 [Buildroot] New version of AT91 Buildroot available Ulf Samuelsson
@ 2007-04-23 18:41 ` Diego A. Fons
  2007-04-23 19:02   ` Ulf Samuelsson
  0 siblings, 1 reply; 4+ messages in thread
From: Diego A. Fons @ 2007-04-23 18:41 UTC (permalink / raw)
  To: buildroot

Ulf Samuelsson escribi?:

>If anyone wants to see how it works in practice,
>then running the attached script will download my
>new buildroot, and build a complete set of functions
>to get a board running with Linux.
>
>
>It will build
>at91-bootstrap-2.3 with my private additions
>u-boot-1.2.0    with my private additions
>linux-2.6.20.4    maxim + experimental patches
>rootfs (jffs2)
>rootfs (ext2)
>
>for the following configurations:
>at91rm9200df*      at91rm9200ek running from dataflashcard
>at91sam9260dfc    at91sam9260ek running from dataflashcard
>at91sam9261ek*    at91sam9261 running from internal dataflash
>at91sam9263ek    at91sam9263ek running from dataflashcard
>
>Only the two boards marked '*' have been run on actual H/W yet,
>the other two boards will be tested when I get my boards back.
>
>Don't try to get support for these things from Atmel
>since they do not know anything about the internals.
>
>The stuff is also available at:
>www.at91.com 
>in the AT91 Buildroot project.
>--------------------------------------------------------------
>
>#!/bin/bash
>TOPDIR=`pwd`
>BUILDROOT=buildroot-atmel
>BUILDROOT_VER=2007-04-22
>BUILDROOT_SOURCE=${BUILDROOT}-${BUILDROOT_VER}.cpio.bz2
>BUILDROOT_SITE=ftp://at91dist:distrib at 81.80.104.162/AT91_Third_Party_Design_Flow/Linux_Host/Source
>DL_DIR=${TOPDIR}/Source
>UNZIP=bzcat
>
>function	prepare_directories()
>{
>	mkdir	-p	/tftpboot
>	mkdir	-p	/usr/local/arm
>	mkdir	-p	/usr/local/install/downloads
>}
>
>function	get_buildroot()
>{
>	if ! [ -d ${BUILDROOT} ] ; then
>		mkdir -p ${DL_DIR}
>		wget	-P ${DL_DIR}	${BUILDROOT_SITE}/${BUILDROOT_SOURCE}
>		${UNZIP}	${DL_DIR}/${BUILDROOT_SOURCE} | cpio -idv
>	fi
>}
>
>function	make_board()
>{
>	cd	${BUILDROOT}
>	echo	"building board $1"
>	make 	B=$1 board
>	make	$2
>	make	saveconfig
>	cd	${TOPDIR}
>}
>
>function	make_all_boards()
>{
>	make_board	at91rm9200df	$1
>	make_board	at91sam9260dfc	$1
>	make_board	at91sam9261ek	$1
>	make_board	at91sam9263ek	$1
>}
>
>
>prepare_directories
>get_buildroot
>make -C ${BUILDROOT} menuconfig
>make_all_boards	source
>make_all_boards
>
>
>  
>
>------------------------------------------------------------------------
>
>_______________________________________________
>buildroot mailing list
>buildroot at uclibc.org
>http://busybox.net/mailman/listinfo/buildroot
>
Hi,

I'was testing de script and i got this error:

checking for iconv_open... no
checking for libiconv_open in -liconv... no
checking for iconv_open in -liconv... no
configure: error: *** No iconv() implementation found in C library or 
libiconv
make: *** 
[/home/dfons/buildroot_atmel/buildroot-atmel/build_arm_small/glib-2.12.9/.configured] 
Error 1

Is it possible that uClib 0.9.28.3 doesn't have an iconv() implementation?

Regards,
Diego A. Fons.

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

* [Buildroot] New version of AT91 Buildroot available
  2007-04-23 18:41 ` Diego A. Fons
@ 2007-04-23 19:02   ` Ulf Samuelsson
  0 siblings, 0 replies; 4+ messages in thread
From: Ulf Samuelsson @ 2007-04-23 19:02 UTC (permalink / raw)
  To: buildroot

>>
> Hi,
> 
> I'was testing de script and i got this error:
> 
> checking for iconv_open... no
> checking for libiconv_open in -liconv... no
> checking for iconv_open in -liconv... no
> configure: error: *** No iconv() implementation found in C library or 
> libiconv
> make: *** 
> [/home/dfons/buildroot_atmel/buildroot-atmel/build_arm_small/glib-2.12.9/.configured] 
> Error 1
> 
> Is it possible that uClib 0.9.28.3 doesn't have an iconv() implementation?

Exchange packages/glib with the vanilla buildroot and see if it changes.
There are some patches there from the AVR32 BSP which does not yet support 0.9.28.3

I did not build this with a lot of packages yet, since then it wont fit into the 8 MB Dataflashcards..
When I can get some time to test out the NAND flash functionality, then this problem will go away
but I do not plan to do extensive testing of more than minimal root fs functionality.


Best Regards
Ulf Samuelsson

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

* [Buildroot] New version of AT91 Buildroot available
       [not found] <003401c785ef$e2287a50$c81f1fac@silver>
@ 2007-04-24  6:46 ` Ulf Samuelsson
  0 siblings, 0 replies; 4+ messages in thread
From: Ulf Samuelsson @ 2007-04-24  6:46 UTC (permalink / raw)
  To: buildroot

Got some comment on this, so I updated the source
to use the mkimage built by the system and to download
mpfr from aldot's home page, since the main location is down.

Did not have time to fully test this.


Saw a bug report on zlib headers.
This is fixed in my version which copies the zlib header
to the toolchain_build_arm/linux/include

Have no ready patch, but I guess copying my package/zlib contents
should fix that problem.

-----------------------------

#!/bin/bash
TOPDIR=`pwd`
BUILDROOT=buildroot-atmel
BUILDROOT_VER=2007-04-22
BUILDROOT_SOURCE=${BUILDROOT}-${BUILDROOT_VER}.cpio.bz2
BUILDROOT_SITE=ftp://at91dist:distrib at 81.80.104.162/AT91_Third_Party_Design_Flow/Linux_Host/Source
DL_DIR=${TOPDIR}/Source
UNZIP=bzcat

function	prepare_directories()
{
	mkdir	-p	/tftpboot
	mkdir	-p	/usr/local/arm
	mkdir	-p	/usr/local/install/downloads
}

function	get_buildroot()
{
	if ! [ -d ${BUILDROOT} ] ; then
		mkdir -p ${DL_DIR}
		wget	-P ${DL_DIR}	${BUILDROOT_SITE}/${BUILDROOT_SOURCE}
		${UNZIP}	${DL_DIR}/${BUILDROOT_SOURCE} | cpio -idv
	fi
}

function	make_board()
{
	cd	${BUILDROOT}
	echo	"building board $1"
	make 	B=$1 board
	make	$2
	make	saveconfig
	cd	${TOPDIR}
}

function	make_all_boards()
{
	make_board	at91rm9200df	$1
	make_board	at91sam9260dfc	$1
	make_board	at91sam9261ek	$1
	make_board	at91sam9263ek	$1
}


prepare_directories
get_buildroot
make -C ${BUILDROOT} menuconfig
make_all_boards	source
make_all_boards



-- 
Best Regards,
Ulf Samuelsson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ulf.vcf
Type: text/x-vcard
Size: 301 bytes
Desc: not available
Url : http://busybox.net/lists/buildroot/attachments/20070424/bc9e6637/attachment.vcf 

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

end of thread, other threads:[~2007-04-24  6:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-23  9:01 [Buildroot] New version of AT91 Buildroot available Ulf Samuelsson
2007-04-23 18:41 ` Diego A. Fons
2007-04-23 19:02   ` Ulf Samuelsson
     [not found] <003401c785ef$e2287a50$c81f1fac@silver>
2007-04-24  6:46 ` Ulf Samuelsson

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