Re: ARM kernel cross compilation issues for iMX53
On Wed, Mar 14, 2012 at 12:09 PM, Mike Thompson <email@example.com> wrote:
>> As author of that page/script, that config setting isn't actually
>> required, it's more useful for debugging purposes while compiling the
> I notice in your instructions to bring up Debian on the iMX53 Quick Start,
> that it does not include a step to create an initrd. I presume this is
> because the patched kernel has the SD driver compiled in and can simply
> mount its initial file system directly from the SD card rather than using a
> ramdisk. Is this correct?
Correct by default i have the SD card driver built-in (along with most
sane disk formats extX).. I'm assuming most users won't have a
secondary arm system around, or require them to install qemu to build
an actual initial file system. So for the wiki's there's really not a
quick/easy way to generate an armel initramfs on and x86 host.. But
once you get the board running the first time, there's nothing
stopping you from rebuilding a new kernel and generating a matching
initramfs on the target..
> I also presume the same approach will not work if I was to boot the iMX53 on
> Debian off of the SATA drive. I believe I would need to append an initrd in
> that case to the end of the kernel to include the SATA drive modules.
Reading the u-boot list, i belive this is on the horizon, otherwise
there's nothing stopping you from having the boot files on teh sd card
and the rootfs on the sata drive..
> Do you know of instructions similar to what you put together that describe
> the process of booting the iMX53 on an attached SATA drive with a minimal
> install of Debian?
There's really not much difference, instead of just say "/dev/sdcX"
for the boot and rootfs partitions on an sd card.. You'd have
"/dev/sdcX" for the boot partition on the sd card and "/dev/sddX" for
the rootfs partition.. (As long as your bootscript points to
/dev/sda1 vs /dev/mmcblk0p1, and your /etc/fstab is adjusted
> I'm actually still waiting for my iMX53 hardware to arrive, but I'm just
> reviewing all the steps necessary to get it running ahead of time so I can
> work with it as fast as possible.
Not a problem, they are actually pretty nice boards, and the mainline
kernel supports quite a bit on the board (ethernet and sata* with usb
on the way..)..
*still haven't figured out the correct config options to make it work..