[fedora-arm] Compiled kernel problem

Iván Chavero ichavero at chavero.com.mx
Sun Aug 17 03:55:40 UTC 2014


On 14/08/14 03:14, Peter Robinson wrote:
> On Thu, Aug 14, 2014 at 4:23 AM, Iván Chavero <ichavero at chavero.com.mx> wrote:
>> Hello,
>>
>> I've compiled a kernel from:
>> https://github.com/jwrdegoede/linux-sunxi
>> I attached the .config to the mail in case is needed.
>>
>> this config file i got it from:
>> https://github.com/cubieboard/cubie_configs/blob/master/kernel-configs/3.4/cubietruck_defconfig
>>
>> This are the commands i used to compile the kernel in my laptop:
>>
>> make ARCH=arm menuconfig
>>
>> make ARCH=arm CROSS_COMPILE=arm-none-eabi- -j5 uImage modules
>>
>> put the modules in a local directory:
>> make ARCH=arm INSTALL_MOD_PATH=../modules/fedora modules_install
>>
>> cd ../modules/fedora
>> tar -zc lib > modules_3.15.tar.gz
>>
>> copied the uImage and the modules to a running cubietruck, added the kernel
>> to
>> the extlinux.conf
>>
>> and booted usign a serial cable but this was all i got:
>>
>> Retrieving file: /uImage-3.15
>> 4631624 bytes read in 512 ms (8.6 MiB/s)
>> no console=
>> append: enforcing=0 ro root=UUID=b487fc2a-226b-4b85-a435-a259656fb9e7
>> console=ttyS0,115200
>> Retrieving file:
>> /dtb-3.16.0-0.rc7.git1.1.fc22.armv7hl/sun7i-a20-cubietruck.dtb
>> 21639 bytes read in 2139 ms (9.8 KiB/s)
>> Bad Linux ARM zImage magic!
>> ## Booting kernel from Legacy Image at 42000000 ...
>>     Image Name:   Linux-3.15.0+
>>     Image Type:   ARM Linux Kernel Image (uncompressed)
>>     Data Size:    4631560 Bytes = 4.4 MiB
>>     Load Address: 40008000
>>     Entry Point:  40008000
>>     Verifying Checksum ... OK
>> ## Flattened Device Tree blob at 50000000
>>     Booting using the fdt blob at 0x50000000
>>     Loading Kernel Image ... OK
>>     Loading Device Tree to 4fff7000, end 4ffff486 ... OK
>>
>> Starting kernel ...
>>
>> and it hanged.
>>
>> can somebody give me a hint on what i'm doing wrong?
> Did you build device trees and specify the right one on the command
> line? TBH 3.4 is ancient and I've no idea how forked it is so it could
> be anything. Did you look at the Fedora 20 Allwinner remix as I
> believe it uses that kernel.
i'm not sure about the device tree, how do you do that?
i can use any kernel version, i just need the proper instructions to
build it, i've tried a lot of stuff on the wiki and howtos and nothing
seems to work.

thanks for your help

>
> https://fedoraproject.org/wiki/Architectures/ARM/F20/Remixes#Allwinner_A10_.2F_A13_.2F_A20


-- 
Iván Chavero
Hacker



More information about the arm mailing list