[meta-xilinx] xilinx 4.4 -> 4.6 kernel doesn't boot
Nathan Rossi
nathan at nathanrossi.com
Fri Jan 13 06:18:19 PST 2017
On 13 January 2017 at 23:35, Arno Steffens <star at gmx.li> wrote:
> I found the issue in the devicetree, comparing my one with recent microzed board.
> Nevertheless there is (at least) one thing, I don't understand.
>
> in meta-xilinx/recipes-bsp/device-tree/files/common
> there is zynq7-base.dtsi, which is not uses by all the devicetree files in this layer.
A remenant from another time, the device tree recipe will bork at you
if you use it. But it is there for compatibility. It existing for when
Zynq device tree support was not in the kernel (~3.4 and older if i
remember correctly).
Probably time to remove it, by now everyone should be using the kernel
device tree.
>
> These are all using:
> /include/ "zynq-7000.dtsi" - but this is not in .../common
>
> Is this intentionally?
Its in the kernel source, dynamically acquired during the build for
the current selected kernel (linux-yocto, linux-xlnx or other).
>
> And it seems the number of Bogomips is only half of previous values (even after adding 2nd CPU)?
Likely due to clock speed, check the operating frequency of your CPUs.
Also, bogomips gets calculated per cpu.
Regards,
Nathan
>
> Regards
> Arno
>
>
>> Gesendet: Dienstag, 10. Januar 2017 um 08:31 Uhr
>> Von: "Arno Steffens" <star at gmx.li>
>> An: meta-xilinx at yoctoproject.org
>> Betreff: [meta-xilinx] xilinx 4.4 -> 4.6 kernel doesn't boot
>>
>> Keeping my previous system (yocto 2.1 uboot) I try to boot into recent yocto2.2 (xilinx 4.6) kernel.
>> It doesn't, last message is "Starting kernel ..."
>>
>> I read that this has usually 2 reasons, mismatching bootcmd or MachineID.
>>
>> I try to boot (working 4.4 kernel) with other machine id by setting in uboot
>> "set machid 44".
>> Although uboot confirmes this by :
>> Using machid 0x44 from environment
>> it boots. So I guess this might not the problem.
>>
>> Found that indeed in devicetree something has been changed:
>>
>> - bootargs = "console=ttyPS0,115200 earlyprintk";
>> + bootargs = "";
>> + stdout-path = "serial0:115200n8";
>>
>> So I changed this in my linux dts file, but result keeps same.
>> I also try to modify my previous bootargs:
>>
>> console=ttyPS0,115200 earlyprintk root=/dev/nfs nfsroot...
>>
>> and omit the console and earlyprintk without an effect.
>>
>> How can I debug this?
>>
>> Best regards
>> Arno
>>
>> --
>> _______________________________________________
>> meta-xilinx mailing list
>> meta-xilinx at yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/meta-xilinx
>>
> --
> _______________________________________________
> meta-xilinx mailing list
> meta-xilinx at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-xilinx
More information about the meta-xilinx
mailing list