Le 31/10/2013 10:03, Marcus Schäfer a écrit :
> Hi,
>
>> Yes, legacy board support seems to have been dropped with 13.1 kernel
>> for exynos boards (including origen). So, we must add a dtb package
>> for Origen, add it to the image, configure u-boot to use it, rebuild
>> the image and boot it. :)
> yay that sounds like a plan :)
>
>> If you do not know how to do that, I could have a look at it.
> I'm willing to learn but I have no clue about device tree blobs
>
> If you have a free time slot it would be great if you can take a look
> at it but it's not an urgent thing for me, I just found out that
> 13.1 and Origen did not work. In order to keep the basic arm imaging
> working I have three boards on my desk, Panda, Origen, Efika. It would
> be nice to have those which we currently see as the most important
> ones in my collection, I guess Origen doesn't belong there ;)

I have a beagleboard xM, a panda, an efika MX, an arndaleboard, a chromebook 
and some Raspberry Pi. ;)
But no origen, so I cannot test it.
Origen is a good board, and should be supported by openSUSE. So, thanks for 
testing it.

Once 13.1 images are built, I will test them on my devices.


>
> If you can explain how to start with creating a dtb it would
> be great so I can learn something which seems to become the default
> in the future

you can have a look at DTB for panda and beagle here:
https://build.opensuse.org/package/show/Base:System/dtb-source

It is a dtb-source package and then we have dtb-omap4-panda and 
dtb-omap3-beagle packages which link to this package. Similar to what is done 
for ARM images.
We should import dtb-source in 13.1:Ports and extend it to support origen.

The main steps to compile a DTB (device tree blob) from DTS (device tree 
source) are:
* DTS files are in linux sources in arch/arm/boot/dts folder
* preprocess DTS files with CPP (to resolve #include lines)
* compile DTS to DTB using dtc (device tree compiler)

For origen, we need : exynos4210-origen.dts and exynos4412-origen.dts.

So, edit "pre_checkin.pl" script (from dtb-source) to add Origen boards with 
above dts files.
Run the script to generate files.
Create dtb-exynos4-origen package which links to your modified dtb-source 
package.

Hope it will help you.


Guillaume

>
> Thanks
>
> Regards,
> Marcus

-- 
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]

Reply via email to