View Single Post
Posts: 838 | Thanked: 3,384 times | Joined on Mar 2009
#24
Still uboot -problem:
(Yes, this is my first time to use u-boot)

1) I wrote jessie.dd to the SD-card. (with 'fdisk -l' I can verity this step worked)

2) installed u-boot-flasher which also installs u-boot-tools. (I also installed and then removed bootmenu, can it affect? )

3) Created file: /etc/bootmenu.d/10-jessie.item with content from post#1 (using ssh copy-paste -> no typos)

4) run u-boot-update-bootmenu, full log:
Code:
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...
And it generates /home/user/MyDocs/bootmenu.scr, which is binary file, but I can see it contains also jessie-entry:
Code:
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;
Folder /home/user/MyDocs/bootmenu.img.d/ is empty. (I don't know how it should be, but it has same timestamp than bootmenu.scr)

5) reboot with keyboard open
-> uboot-menu without jessie-entry:

There are these five entries:
*Attached kernel
*Internal eMMC
*External SD Card
*U-boot boot order
*U-boot console


What I'm missing?

[EDIT]
I found that maemo5 can't mount ext4 partition on jessie.dd. So could this be an issue? (even u-boot supports ext4).
[/EDIT]

Last edited by AapoRantalainen; 2014-05-31 at 19:07.
 

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