The Following 10 Users Say Thank You to szopin For This Useful Post: | ||
![]() |
2014-05-30
, 20:52
|
Posts: 839 |
Thanked: 3,386 times |
Joined on Mar 2009
|
#22
|
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
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
![]() |
2014-05-30
, 22:18
|
Posts: 191 |
Thanked: 415 times |
Joined on Jan 2012
|
#23
|
Then I installed u-boot (package name u-boot-flasher), do I need something more?
ITEM_CMDLINE="root=/dev/mmcblk0p4 rootwait vram=12M console=tty0 quiet" ' > /etc/bootmenu.d/jessie.item[/CODE]
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?
How will I generate initrd.img-3.12.0-rc5+ and uInitrd?
update-initramfs -k 3.12.0-rc5+ -c
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?
The Following 6 Users Say Thank You to caveman For This Useful Post: | ||
![]() |
2014-05-31
, 17:14
|
Posts: 839 |
Thanked: 3,386 times |
Joined on Mar 2009
|
#24
|
Adding bootmenu entry for: 'Maemo 5 with attached kernel 2.6.28-omap1 (Internal Nand)' Configuration file: /etc/bootmenu.d/10-jessie.item Adding bootmenu entry for: 'debian jessie @ SD' Generating u-boot bootmenu script...
strings /home/user/MyDocs/bootmenu.scr bootmenu setenv bootmenu_0 'Maemo 5 with attached kernel 2.6.28-omap1 (Internal Nand)=run attachboot';setenv bootmenu_1 'debian jessie @ SD=setenv mmcnum 0;setenv mmcpart 1;setenv mmctype fat;setenv bootargs root=/dev/mmcblk0p2 rootwait vram=12M console=tty0 quiet;setenv setup_omap_atag 1;setenv mmckernfile /boot/uImage;setenv mmcinitrdfile /boot/uInitrd;setenv mmcscriptfile;run trymmckerninitrdboot;';setenv bootmenu_2;
![]() |
2014-05-31
, 18:28
|
Posts: 578 |
Thanked: 994 times |
Joined on Dec 2012
|
#25
|
The Following 3 Users Say Thank You to elros34 For This Useful Post: | ||
![]() |
2014-06-01
, 07:15
|
Posts: 839 |
Thanked: 3,386 times |
Joined on Mar 2009
|
#26
|
Formating fat partition probably solve this issue. Check u-boot thread [...]
#backup MyDocs (if needed) #cp -r MyDocs/ MyDocs_backup root umount /home/user/MyDocs #if 'device is busy' use: #lsof /home/user/MyDocs #kill mkfs.vfat /dev/mmcblk0p1 #reboot to remount, or mount /dev/mmcblk0p1 /home/user/MyDocs -o rw,noauto,nodev,noexec,nosuid,noatime,nodiratime,utf8,uid=29999,shortname=mixed,dmask=000,fmask=0133,rodir exit #roll backups back #cp -a MyDocs_backup/. MyDocs #You will get a lot of: "cannot preserve ownership of XXX #Operation not permitted" (because copying from ext to fat)
![]() |
2014-06-01
, 10:24
|
Posts: 839 |
Thanked: 3,386 times |
Joined on Mar 2009
|
#27
|
sudo dd if=jessie.dd of=/dev/mmcblk0
mmc0 is current device reading /boot/uInitrd ** Unable to read file /boot/uInitrd Extra commands ...
The Following User Says Thank You to AapoRantalainen For This Useful Post: | ||
![]() |
2014-06-01
, 11:24
|
|
Posts: 4,118 |
Thanked: 8,901 times |
Joined on Aug 2010
@ Ruhrgebiet, Germany
|
#28
|
The Following 5 Users Say Thank You to peterleinchen For This Useful Post: | ||
![]() |
2014-06-01
, 11:32
|
Posts: 191 |
Thanked: 415 times |
Joined on Jan 2012
|
#29
|
The Following 3 Users Say Thank You to caveman For This Useful Post: | ||
![]() |
2014-06-01
, 12:16
|
Posts: 7 |
Thanked: 38 times |
Joined on Jun 2014
|
#30
|
The Following 3 Users Say Thank You to sakrabojski For This Useful Post: | ||
https://db.tt/UvPwWoUm