[Buildroot] [PATCH] configs: add defconfig for Freescale i.MX31 PDK
vincent.stehle at freescale.com
Thu Mar 19 15:37:35 UTC 2015
On 03/19/2015 12:32 AM, Arnout Vandecappelle wrote:
> Doesn't the upstream MACH_MX31_3DS work? 2.6.28 is extremely old...
Thank you for reviewing this patch so quickly and sending
This defconfig is indeed based on an old 2.6.28 kernel; the idea
was to base the defconfig on the last Freescale "official"
release, which works fine for me.
You are right that mainline kernel has support for the i.MX31
processor, but there is no dts in there for the i.MX31 PDK right
now. The few tries I just did do not boot "as is" but I will
continue a bit.
Do you insist that this i.MX31 config uses mainline, or would
it be acceptable to stay on the "old", Freescale "official"
> That doesn't sound like a good idea when the kernel is 2.6.28...
Granted, this is not optimal. Those are the kernel headers
closest to 2.6.28, "easily" available in buildroot.
It is indeed possible to manually specify the 2.6.28 kernel
headers version, but this necessitates two patches to fix the
Do you prefer this solution?
> Why not uClibc and why C++?
Those are "leftovers", sorry. Thanks for spotting those mistakes.
I will remove that.
> With a more recent kernel we don't need this crappy option...
This is correct: this is necessary only with the "official"
>> +# BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW is not set
Also "leftovers", sorry. Thanks for spotting, I will remove as
> If network boot is really the only option, then perhaps it would be nicer to
> use an initramfs linked into the kernel? Or doesn't the board have enough memory
> to support that?
This is my only boot method for the moment.
Do you insist that the defconfig should use MMC?
I will continue to try a bit to generate a suitable MMC with
buildroot anyway. Maybe that can be changed in the defconfig later
On the other hand, if we stay with network booting, initramfs is
a nice idea as it makes the setup simpler indeed. Also, the
i.MX31 PDK has 128 MB of memory, so this is a practical solution.
I just tested and an initramfs included in the zImage works
fine. Only, Freescale "official" kernel has no support for
initrd/initramfs, so we need another patch.
Would you prefer this solution?
I will send a v2 patch right away, with a few reworks discussed
here, and still based on the "old" Freescale "official" release.
Please let me know if this is going in the right direction (or
Thanks again for reviewing!
More information about the buildroot