Hi all,
I need some help in choosing right version of rootfs for my environment.
I have a development board with ST SoC with Cortex-A9 dual core and VFPv3-D16. Kernel version available to me is 2.6.37. I am using Debian 6 arm-hf port, but would like to try Linaro rootfs.
1. What is the version of linaro filesytem I should pick (optimum for -mfpu=vfp and -mfloat-abi=hard) ? 2. I don't have a hwpack, is it possible to use vexpress or similar rootfs.
Regards, Suresh
On 14 May 2012 17:48, Suresh Kumar SHUKLA suresh.shukla@st.com wrote:
Hi all,
I need some help in choosing right version of rootfs for my environment.
I have a development board with ST SoC with Cortex-A9 dual core and VFPv3-D16. Kernel version available to me is 2.6.37. I am using Debian 6 arm-hf port, but would like to try Linaro rootfs.
- What is the version of linaro filesytem I should pick (optimum for -mfpu=vfp and -mfloat-abi=hard) ?
- I don't have a hwpack, is it possible to use vexpress or similar rootfs.
Hi Suresh. I'd start with the Linaro Precise Nano rootfs and work your way up from there. Nano is a minimal hard float system that has a serial console, networking, apt-get for new packages, and that's about it.
I'm not sure what your SoC needs to boot. You could try using linaro-media-create to create a Versatile Express image, grab the finished rootfs out of that, and then use it on your device. Something like:
* Grab http://releases.linaro.org/12.04/ubuntu/precise-images/nano/linaro-precise-n... * Grab http://releases.linaro.org/12.04/ubuntu/precise-images/nano/hwpack_linaro-ve... * linaro-media-create --dev vexpress --image-file vexpress.img --hwpack hwpack*vexpress* --binary *nano* --hwpack-force-yes * sudo kpartx -a vexpress.img * sudo mount /dev/mapper/loop0p1 /mnt * Grab the initrd from /mnt * sudo mount /dev/mapper/loop0p2 /mnt * Grab the rootfs from /mnt
I believe you need the initrd to boot.
-- Michael
Thanks Michael, these steps worked fine.
My kernel is built with statically linked modules, so I skipped initrd.
I am able to boot and reach a console (with pty logging errors, and delay in prompt). I am getting some CPU stall errors occasionally.
Regards, Suresh
Just to update, now I am using 12.05 (vexpress hwpack + nano rootfs). Its stable. No CPU stall errors.
Thanks and regards, Suresh
-----Original Message----- From: Suresh Kumar SHUKLA Sent: Tuesday, May 15, 2012 11:55 AM To: 'Michael Hope' Cc: linaro-dev@lists.linaro.org Subject: RE: Linaro rootfs / kernel version combination
Thanks Michael, these steps worked fine.
My kernel is built with statically linked modules, so I skipped initrd.
I am able to boot and reach a console (with pty logging errors, and delay in prompt). I am getting some CPU stall errors occasionally.
Regards, Suresh