No problem with kvm, but you need to enable u-boot in the t2 package selection,
not trying to install it into your running system.
You will also have to choose the exact board config for u-boot (e.g.
"omap3_beagle").
René
On Sep 23, 2010, at 1:19 PM, ToM wrote:
> Hi Rene,
>
> many thanks for your help, and your "Howto use T2 for random embedded boards"
> ;-)
>
> Now "mkimage" is needed. I found it in the "u-boot" Pkg!
>
> I'm running t2-stable in a KVM on Ubuntu. CPU is KVM64.
> When I do:
> ./scripts/Emerge-Pkg u-boot
>> u-boot checking ... Not installed. Added.
> 0 packages scheduled to build.
>
> So I try:
> ./scripts/Download u-boot
> ./scripts/Build-Pkg -cfg default u-boot
> == 10:58:47 =[9]=> Building base/u-boot [2009.11-rc1 8.0-stable].
> -> Parallel build using 2 jobs enabled.
> -> Reading package config: package/base/u-boot/u-boot.conf
> !> The package build aborted with the following config error:
> !> TODO: Add x86-64 and board configuration
>
> x86-64 is enabled in default config!
> I this a Problem with KVM?
>
> ToM
>
> Rene Rebe <rene <at> exactcode.de> writes:
>
>>
>> Hi again,
>>
>> got that covered, too:
>>
>> Committed revision 37655.
>>
>> René
>>
>> On Sep 22, 2010, at 2:27 PM, Rene Rebe wrote:
>>
>> > Hi,
>> > > well, I went thru it and added some basic fixup for dietlibc/arm/eabi.
>> > > Most of the tools for the initrd that
>> we statically link against dietlibc by default do build, now.
>> > > Committed revision 37654.
>> > > AFAIC for most part only the pdksh is missing. Maybe I get to it later,
>> > > ...
>> > > René
>> > > On Sep 22, 2010, at 12:20 PM, Rene Rebe wrote:
>> > >> Hi,
>> >> >> I just took a look on this dietlibc/arm build error. The issue is that
>> >> >> we default to the new EABI for some
>> time, and for this some syscalls are no longer available, such as time, ...
>> dietlibc would need a patch or
>> two to correctly wire them up to new syscalls, such as gettimeofday, etc, ...
>> >> >> dietlibc/arm/syscalls.h:
>> >> >> #if defined(__ARM_EABI__) && !defined(__KERNEL__)
>> >> #undef __NR_time
>> >> #undef __NR_umount
>> >> #undef __NR_stime
>> >> #undef __NR_alarm
>> >> ...
>> >> >> Patches welcome, otherwise I can try to find the time to implement
>> >> >> this.
>> >> >> Regards,
>> >> René
>> >> >> On Sep 22, 2010, at 10:52 AM, ToM wrote:
>> >> >>> Hi René,
>> >>> >>> I reported problems with dietlb in a post before. So I disabled this
>> >>> >>> packages:
>> >>>> O dietlibc
>> >>>> O embutils
>> >>> >>> I try to get it run on a cheep Chinese 7" ePad. Debian is already
>> >>> >>> running, but only with a Android Kernel.
>> There is a Built in WM8505 with arm926ej core. The Manufacturer WonderMedia
>> has opend the Kernel Source:
>> http://github.com/projectgus/kernel_wm8505 , but there's a lot of horrible
>> code in
>> >>> the WMT source release. So I decide to build it from scratch......
>> >>> >>> I never set up a board config! Please, can you provide me with
>> >>> >>> Information?
>> >>> >>> ToM
>> >>> >>> >>> >>>> Hi,
>> >>>> >>>> this is the mkinitrd failing to copy some statically compiled
>> >>>> >>>> tools into the initrd image, guess you
>> disabled some packages or so. You certainly will have to setup some board
>> config in any case for a matching
>> kernel for your board.
>> >>>> >>>> What kind of ARM board / platform are you using?
>> >>>> >>>> René
>> >>>> >>>> On Sep 21, 2010, at 9:27 PM, 4tm <at> gmx.de wrote:
>> >>>> >>>>> >>>>> >>>>> >>>>> == 19:02:51 =[1]=> Building base/linux26
>> >>>> >>>>> >>>>> >>>>> >>>>> [2.6.35.5 9.0-trunk].
>> >>>>> -> Parallel build using 2 jobs enabled.
>> >>>>> -> Reading build/.../tools.cross/lib/pkg_linux26_pre.conf
>> >>>>> -> Including UnionFS patch ...
>> >>>>> -> Reading package config: package/base/linux26/linux26.conf
>> >>>>> -> Reading build/.../tools.cross/lib/pkg_linux26_post.conf
>> >>>>> -> Preparing build in src.linux26.armel.20100921.190250.14171.localhost
>> >>>>> -> Building. Writing output to $root/var/adm/logs/1-linux26.out
>> >>>>> *> The use of custmain is deprecated, please use hooks instead.
>> >>>>> !> cp: cannot stat
>> >>>>> `/root/svn-t2-trunk/t2-trunk/build/armel-9.0-trunk-generic-arm-gnueabi-arm926ej-s-cross-linux/usr/embutils/sleep':
>> No such file or dire ..
>> >>>>> !> cp: cannot stat
>> >>>>> `/root/svn-t2-trunk/t2-trunk/build/armel-9.0-trunk-generic-arm-gnueabi-arm926ej-s-cross-linux/usr/embutils/losetup':
>> No such file or di ..
>> >>>>> !> cp: cannot stat
>> >>>>> `/root/svn-t2-trunk/t2-trunk/build/armel-9.0-trunk-generic-arm-gnueabi-arm926ej-s-cross-linux/usr/embutils/chmod':
>> No such file or dire ..
>> >>>>> !> cp: cannot stat
>> >>>>> `/root/svn-t2-trunk/t2-trunk/build/armel-9.0-trunk-generic-arm-gnueabi-arm926ej-s-cross-linux/usr/embutils/cat':
>> No such file or direct ..
>> >>>>> !> cp: cannot stat
>> >>>>> `/root/svn-t2-trunk/t2-trunk/build/armel-9.0-trunk-generic-arm-gnueabi-arm926ej-s-cross-linux/usr/embutils/mknod':
>> No such file or dire ..
>> >>>>> !> cp: cannot stat
>> >>>>> `/root/svn-t2-trunk/t2-trunk/build/armel-9.0-trunk-generic-arm-gnueabi-arm926ej-s-cross-linux/usr/embutils/dmesg':
>> No such file or dire ..
>> >>>>> !> Due to previous errors, no 1-linux26.log file!
>> >>>>> !> (Try enabling xtrace in the config to track an error inside the
>> >>>>> build system.)
>> >>>>> -> $root/var/adm/logs/1-linux26.out -> 1-linux26.err
>> >>>>> == 09/21/10 19:07:19 =[1]=> Aborted building package linux26 .
>> >>>>> >>>>> --
>> >>>>> GMX DSL SOMMER-SPECIAL: Surf & Phone Flat 16.000 für nur 19,99
>> >>>>> Euro/mtl.!*
>> >>>>> http://portal.gmx.net/de/go/dsl
>> >>>>> >>>>> >>>>> >>>>> -----------------------------------------------------------
>> >>>>> If you wish to unsubscribe from this mailing, send mail to
>> >>>>> lists <at> t2-project.org with a subject of: unsubscribe t2
>> >>>> >>>> --
>> >>>> René Rebe, ExactCODE GmbH, Jaegerstr. 67, DE-10117 Berlin
>> >>>> http://exactcode.com | http://t2-project.org | http://rene.rebe.de
>> >>>> >>>> >>> >>> >> >> -- >> René Rebe, ExactCODE GmbH, Jaegerstr. 67,
>> >>>> >>>> >>> >>> >> >> DE-10117 Berlin
>> >> http://exactcode.com | http://t2-project.org | http://rene.rebe.de
>> >> > > -- > René Rebe, ExactCODE GmbH, Jaegerstr. 67, DE-10117 Berlin
>> > DE Legal: Amtsgericht Charlottenburg HRB 105123B, Tax-ID#: DE251602478
>> > Managing Directors: Susanne Klaus, René Rebe
>> > http://exactcode.com | http://t2-project.org | http://rene.rebe.de
>> > > ----------------------------------------------------------- > If you
>> > > wish to unsubscribe from this mailing, send mail to
>> > lists <at> t2-project.org with a subject of: unsubscribe t2
>>
>
> -----------------------------------------------------------
> If you wish to unsubscribe from this mailing, send mail to
> [email protected] with a subject of: unsubscribe t2
--
René Rebe, ExactCODE GmbH, Jaegerstr. 67, DE-10117 Berlin
DE Legal: Amtsgericht Charlottenburg HRB 105123B, Tax-ID#: DE251602478
Managing Directors: Susanne Klaus, René Rebe
http://exactcode.com | http://t2-project.org | http://rene.rebe.de
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2