i.MX515 Project
Debian armhf hardfloat port

in category Linux Distributions
proposed by markos on 31st October 2010 (accepted on 5th October 2010)
[View Full Project]
  Debian Installer progress!!
posted by markos on 8th December 2010


I decided to give java a rest for a while and tackle something more important to actually get the port established: the Debian Installer.

I've done a few patches to some d-i udebs (#604688 and 605013 to build for armhf, but I was missing the kernel udebs to actually attempt to build d-i. And I was waiting for a recent kernel (>2.6.32 or better, 2.6.35) to build the proper kernel udebs. But this was waiting a long time and it was about time to have an installer for armhf so that people can actually play with it on the EfikaMX and use it themselves.

So, I got Matt's latest efikasb kernel (2.6.31.14.12 from gitorius), I build the image, using a patched kernel-package -this patch will soon go to a proper bug report) and then used that to an again patched linux-kernel-di-armhf-2.6 (a modified version of linux-kernel-di-armel-2.6) which will also be uploaded soon, and which builds the actual kernel udebs. So, not to leave you waiting, here they are:


# ls -l *.udeb
-rw-r--r-- 1 root root 240274 Dec 8 23:13 btrfs-modules-2.6.31.14.13-10.08.00-efikasb-di_1.0_armhf.udeb
-rw-r--r-- 1 root root 27728 Dec 8 23:13 cdrom-core-modules-2.6.31.14.13-10.08.00-efikasb-di_1.0_armhf.udeb
-rw-r--r-- 1 root root 5326 Dec 8 23:14 core-modules-2.6.31.14.13-10.08.00-efikasb-di_1.0_armhf.udeb
-rw-r--r-- 1 root root 5548 Dec 8 23:14 crc-modules-2.6.31.14.13-10.08.00-efikasb-di_1.0_armhf.udeb
-rw-r--r-- 1 root root 9146 Dec 8 23:14 crypto-dm-modules-2.6.31.14.13-10.08.00-efikasb-di_1.0_armhf.udeb
-rw-r--r-- 1 root root 44758 Dec 8 23:14 crypto-modules-2.6.31.14.13-10.08.00-efikasb-di_1.0_armhf.udeb
-rw-r--r-- 1 root root 9208 Dec 8 23:14 event-modules-2.6.31.14.13-10.08.00-efikasb-di_1.0_armhf.udeb
-rw-r--r-- 1 root root 34758 Dec 8 23:13 ext2-modules-2.6.31.14.13-10.08.00-efikasb-di_1.0_armhf.udeb
-rw-r--r-- 1 root root 88120 Dec 8 23:13 ext3-modules-2.6.31.14.13-10.08.00-efikasb-di_1.0_armhf.udeb
-rw-r--r-- 1 root root 179378 Dec 8 23:14 ext4-modules-2.6.31.14.13-10.08.00-efikasb-di_1.0_armhf.udeb
-rw-r--r-- 1 root root 37824 Dec 8 23:14 fat-modules-2.6.31.14.13-10.08.00-efikasb-di_1.0_armhf.udeb
-rw-r--r-- 1 root root 41736 Dec 8 23:14 fb-modules-2.6.31.14.13-10.08.00-efikasb-di_1.0_armhf.udeb
-rw-r--r-- 1 root root 43710 Dec 8 23:14 input-modules-2.6.31.14.13-10.08.00-efikasb-di_1.0_armhf.udeb
-rw-r--r-- 1 root root 18240 Dec 8 23:14 isofs-modules-2.6.31.14.13-10.08.00-efikasb-di_1.0_armhf.udeb
-rw-r--r-- 1 root root 91044 Dec 8 23:14 jfs-modules-2.6.31.14.13-10.08.00-efikasb-di_1.0_armhf.udeb
-rw-r--r-- 1 root root 2031192 Dec 8 23:13 kernel-image-2.6.31.14.13-10.08.00-efikasb-di_1.0_armhf.udeb
-rw-r--r-- 1 root root 10440 Dec 8 23:13 loop-modules-2.6.31.14.13-10.08.00-efikasb-di_1.0_armhf.udeb
-rw-r--r-- 1 root root 258338 Dec 8 23:14 md-modules-2.6.31.14.13-10.08.00-efikasb-di_1.0_armhf.udeb
-rw-r--r-- 1 root root 16146 Dec 8 23:14 minix-modules-2.6.31.14.13-10.08.00-efikasb-di_1.0_armhf.udeb
-rw-r--r-- 1 root root 40856 Dec 8 23:14 mmc-modules-2.6.31.14.13-10.08.00-efikasb-di_1.0_armhf.udeb
-rw-r--r-- 1 root root 12616 Dec 8 23:14 multipath-modules-2.6.31.14.13-10.08.00-efikasb-di_1.0_armhf.udeb
-rw-r--r-- 1 root root 269382 Dec 8 23:13 nic-modules-2.6.31.14.13-10.08.00-efikasb-di_1.0_armhf.udeb
-rw-r--r-- 1 root root 13920 Dec 8 23:13 nic-shared-modules-2.6.31.14.13-10.08.00-efikasb-di_1.0_armhf.udeb
-rw-r--r-- 1 root root 247114 Dec 8 23:14 nic-usb-modules-2.6.31.14.13-10.08.00-efikasb-di_1.0_armhf.udeb
-rw-r--r-- 1 root root 4594 Dec 8 23:13 nls-core-modules-2.6.31.14.13-10.08.00-efikasb-di_1.0_armhf.udeb
-rw-r--r-- 1 root root 114648 Dec 8 23:14 reiserfs-modules-2.6.31.14.13-10.08.00-efikasb-di_1.0_armhf.udeb
-rw-r--r-- 1 root root 74750 Dec 8 23:13 scsi-core-modules-2.6.31.14.13-10.08.00-efikasb-di_1.0_armhf.udeb
-rw-r--r-- 1 root root 14106 Dec 8 23:14 squashfs-modules-2.6.31.14.13-10.08.00-efikasb-di_1.0_armhf.udeb
-rw-r--r-- 1 root root 6154 Dec 8 23:14 uinput-modules-2.6.31.14.13-10.08.00-efikasb-di_1.0_armhf.udeb
-rw-r--r-- 1 root root 92146 Dec 8 23:14 usb-modules-2.6.31.14.13-10.08.00-efikasb-di_1.0_armhf.udeb
-rw-r--r-- 1 root root 67020 Dec 8 23:14 usb-storage-modules-2.6.31.14.13-10.08.00-efikasb-di_1.0_armhf.udeb


Note that this is for efikasb (the smartbook), this is because there are two kernels flavours, efikasb/efikamx, the entries are going to be very similar, but for now I'll do the testing on the smartbook.

Next step is to put them in the repository and create the d-i actual image. This will need also some patches -I have most of those in d-i, but it's likely it will need some more tinkering as I haven't actually tested booting from the resulting images. It's most likely I'll have to add extra code in there to create the uImages/uInitrds -like it's done in flash-kernel- and perhaps prepare an SD card image from there. If all goes well, I hope to have a test image tomorrow :)

Stay tuned!
Genesi Network: Genesi - Main Site Power2People PowerDeveloper