[Buildroot] Kernel panic - not syncing: Attempted to kill init!

H Hartley Sweeten hartleys at visionengravers.com
Fri Aug 21 16:37:50 UTC 2009


On Friday, August 21, 2009 2:45 AM, Thomas Petazzoni wrote:
> Hello,
> 
> Thanks for all your researches, they are very interesting.

Right now I'm in a panic mode just trying to get it to work.

> 
> Le Thu, 20 Aug 2009 20:53:33 -0400,
> "H Hartley Sweeten" <hartleys at visionengravers.com> a écrit :
> 
>>  The current external toolchain support doesn't appear to work
>> correctly for a multilib toolchain. 
> 
> I've definitely never used multilib toolchains with the external
> toolchain support. That's something that must be extended.
> 
> > Any ideas on how to make this work?
> 
> In the menuconfig, the CPU type can be specified in the « Target
> Architecture Variant », the value of this option can be used to call
> -print-sysroot properly.

Does the -print-sysroot work and return the correct path on your
non-multilib external toolchain?

I already have the "Target Architecture Variant" and the other options
set correctly.

BR2_arm=y
BR2_ARM_TYPE="ARM920T"
BR2_ARM_EABIT=y
BR2_ARCH="arm"
BR2_ENDIAN="LITTLE"
BR2_GCC_TARGET_TUNE="arm920t"
BR2_GCC_TARGET_ARCH="armv4t"
BR2_GCC_TARGET_ABI="aapcs-linux"

> 
> And as you said, the handling of «Target Architecture Variant» is
> currently incorrect for external toolchains.
> 
> Do you want me to work on this, or do you plan to work on it yourself ?

I'm still trying to get it to work but I'm a bit lost.  There are still
a bunch of things about makefiles and all the shell stuff in them that
I just don't get ;-).

The main problem I am having is modifying ext-tool.mk correctly.

If you have the time I would appreciate any help.  I can test anything
that you might suggest.

Thanks,
Hartley


More information about the buildroot mailing list