View Single Post
Posts: 838 | Thanked: 3,384 times | Joined on Mar 2009
#22
I didn't yet get this working. I have one major problem with booting and couple on details.

I have one ext2-partition for jessie on my internal card: /dev/mmcblk0p4

I downloaded and mounted jessie.dd on my computer and this is what I got:
Code:
fdisk -l jessie.dd
jessie.dd1   *        4096      253951      124928    c  W95 FAT32 (LBA)
jessie.dd2          253952     3911679     1828864   83  Linux

sudo mount jessie.dd -o offset=$((4096 * 512)) partition1
sudo mount jessie.dd -o offset=$((253952 * 512)) partition2
I copied files to N900:/dev/mmcblk0p4. Files from partition1 (uImage,uInitrd,initrd.img-3.12.0-rc5+) under the /boot (on that 0p4 partition).

Then I installed u-boot (package name u-boot-flasher), do I need something more?

Then created item:
Code:
echo 'ITEM_NAME="debian jessie"
ITEM_KERNEL="/boot/uImage"
ITEM_INITRD="/boot/uInitrd"
ITEM_DEVICE="${INT_CARD}p4"
ITEM_FSTYPE="ext2"
ITEM_OMAPATAG="1"
ITEM_CMDLINE="root=/dev/mmcblk0p4 rootwait vram=12M console=tty0 quiet" ' > /etc/bootmenu.d/jessie.item
And run u-boot-update-bootmenu. (No errors).

Reboot with keyboard open and I can see penguin-menu, very same than on first post on U-boot thread http://talk.maemo.org/showthread.php?t=81613 (but version number is 2013.04). So where is my jessie-entry?

-----
I compiled kernel from v3.12-rc5-n900 branch (with your instructions: http://talk.maemo.org/showpost.php?p...2&postcount=14). And I got uImage generated with mkimage (help with u-boot -thread #1).

How will I generate initrd.img-3.12.0-rc5+ and uInitrd?

-------
I tried 'debootstrap jessie' on Maemo, but it won't work because dpkg is too old. At least libaudit is compressed with xz and it needs something like dpkg-0.8.13.1 (and maemo5 has 0.7.20.2maemo13.1). Do you get workaround for that?

I run 'debootstrap -foreign' on ubuntu computer and then planning to run 'debootstrap/debootstrap --second-stage' on N900, but chroot gives "too old kernel" or "Exec format error". Do you have workaround for that?
 

The Following 5 Users Say Thank You to AapoRantalainen For This Useful Post: