Assuming an ubuntu setup and with Pengutronix Linux kernel patches for the mini2440.
RootFS creation using debian multistrap. See simple_config to create a simple multistrap configuration.
Use tar with the following options --> -cpjvf --numeric-owner -c --> Create -p --> Preserve permissions -j --> bz2. -v --> verbose -f --> use file archive ie. the name of the file. tar -cpjvf <filename.tar.bz2> . --numeric-owner Extraction is the same. Make sure you are using sudo as the file permissions usually
will have root user permissions and the permissions are preserved. Creation of a Emdebian rootfs.
Reference http://wiki.debian.org/EmDebian/CrossDebootstrap#QEMU.2Fdebootstrap_approach Copy fstab,udev.conf,udev.rules,ts.conf files from pengutronix to the rootfs sdcard. Reference inittab
/etc/securetty Add ttySAC0 entry at the end of securetty file. Copy relevant files like udev rules from pengutronix folders. Kernel Compilation Get the kernel from kernel.org. If the patch from pengutronix is 3.9.1(i.e. patch.3.9.1.bz2) download the 3.9.0 kernel and the patch will patch the version to 3.9.1. Also if the patches directory shows 3.9 then download the 3.9.0 kernel. Using quilt to apply the 'series' patch. Create a sym link called patches pointing to
../OSELAS.BSP-Pengutronix-Mini2440/configs/platform-friendlyarm-mini2440/patches/linux-3.9/ in the linux directory. Create a sym link called series pointing to
../OSELAS.BSP-Pengutronix-Mini2440/configs/platform-friendlyarm-mini2440/patches/linux-3.9/series in the linux directory. To apply the series of patches do -> quilt push -av Copy kernelconfig to the defconfig
Kernel config Device Drivers->Graphics Support->Bootup logo check. -> Direct Rendering Manager. -> Lowlevel video output switch controls. ->Console display driver support -> Framebuffer console support. Optional Framebuffer console rotation. Mini 4x6 font. (For smaller font). Device Drivers->Graphics Support->Support for framebuffer devices. -> S3C2410 LCD framebuffer support. -> S3C2410 lcd debug messages. Device Drivers->Character Devices->Enable TTY. -> Virtual Terminal. File Systems-> Enable ext2,ext3 Network support -> Networking support -> IP: BOOTP support. IP: RARP support.uboot options: Bootcmd for sdcard boot: Bootcmd for tftpboot: nfs setup
Bootcmd for nfs
NFS configuration which worked:For ERROR cannot umount add mini2440 to /etc/hosts in your host. For earlyprintk messages. Enable in the kernel. Also put a
'earlyprintk'(without quotes) in bootargs