![]() |
2013-03-29
, 15:42
|
|
Posts: 451 |
Thanked: 424 times |
Joined on Apr 2010
@ England
|
#282
|
Where do I create the bootmenu item?
Do you mean from inside the /etc/bootmenu.d/ directory on the microSD card where I untarred the rootfs file or ?
Question 2
Only have 2 partitions on my microSD card as follows:
/dev/mmcblk1p1 vfat
/dev/mmcblk1p2 ext2
So, should my bootmenu item look like this:
Thanks!Code:Code: ITEM_NAME="Arch Linux ARM" ITEM_KERNEL="/boot/uImage" ITEM_DEVICE="${INT_CARD}p2" ITEM_FSTYPE="ext2" ITEM_OMAPATAG="1" ITEM_CMDLINE="root=/dev/mmcblk1p2 rootwait init=/bin /systemd omapfb.vram=0:3M,1:3M,2:3M quiet"
![]() |
2013-03-29
, 17:22
|
|
Posts: 414 |
Thanked: 109 times |
Joined on Mar 2007
@ Silicon Valley
|
#283
|
Not on the microSD, no.
All the uboot menu items go in /etc/bootmenu.d/ on the phone itself.
Assuming you have extracted Arch to the ext2 parition, (I don't know if u-boot reads FAT?), I believe you just need to change:
root=/dev/mmcblk1p2
to
root=/dev/mmcblk0p2
as the block numbers are not the same as in maemo.
Give that a try, just don't forget to run u-boot-update-bootmenu afterwards.
$ u-boot-update-bootmenu ~sh: u-boot-update-bootmenu: not found
![]() |
2013-03-29
, 18:04
|
|
Posts: 451 |
Thanked: 424 times |
Joined on Apr 2010
@ England
|
#284
|
However, now, having problem trying to run 'u-boot-update-bootmenu'.....
Install U-Boot
Get U-Boot.
Get your system to boot to Maemo first. This is the most trivial part of the installation, and you need to get this done and tested before continuing. I don't want or need any reports of not being able to boot.
NOTE:
U-Boot in Fremantle repos currently can't boot 3.x kernels, see here for a proper build.
![]() |
2013-03-29
, 18:15
|
|
Posts: 414 |
Thanked: 109 times |
Joined on Mar 2007
@ Silicon Valley
|
#285
|
You run that inside maemo terminal: any time you make any changes to the files in /etc/bootmenu.d/ you need to run that.
If it saying command not found, have you installed u-boot-tools and u-boot itself (not from the repositories)?
https://atrey.karlin.mff.cuni.cz/~pa...c3-1_armel.deb
Edit: You really need to read the first post of this thread VERY carefully.
From the other thread it seems you have installed u-boot from the repositories, which is broken.
You need to completely remove u-boot, and install the versions from here.
this, this, and this.
![]() |
2013-03-29
, 18:17
|
|
Posts: 451 |
Thanked: 424 times |
Joined on Apr 2010
@ England
|
#286
|
![]() |
2013-03-29
, 19:12
|
|
Posts: 414 |
Thanked: 109 times |
Joined on Mar 2007
@ Silicon Valley
|
#287
|
If all else fails, start from scratch and follow this tutorial:
http://tinyurl.com/archn900
....blah, blah, blah...... Generating u-boot image for kernel 'u-boot-2012.10-rc3-1.bin'... Adding bootmenu entry for: 'U-Boot 2012.10-rc3-1' Configuration file: /etc/bootmenu.d/Arch.item: /usr/bin/u-boot-update-bootmenu: /etc/bootmenu.d/Arch.item: line 6: INT_CARD: not found /usr/bin/u-boot-update-bootmenu: /etc/bootmenu.d/Arch.item: line 6: rootwait: not found Setting up u-boot-tools (2012.10-rc3-1) ... Errors were encountered while processing: u-boot-flasher_2012.04-2_armel.deb
(root) apt-get install fiasco-image-update-ask
....blah, blah, blah...... Generating u-boot image for kernel 'u-boot-2012.10-rc3-1.bin'... Adding bootmenu entry for: 'U-Boot 2012.10-rc3-1' Configuration file: /etc/bootmenu.d/Arch.item: /usr/bin/u-boot-update-bootmenu: /etc/bootmenu.d/Arch.item: line 6: EXT_CARD: not found /usr/bin/u-boot-update-bootmenu: /etc/bootmenu.d/Arch.item: line 6: rootwait: not found
![]() |
2013-03-29
, 23:45
|
Posts: 204 |
Thanked: 754 times |
Joined on Jan 2012
@ Finland
|
#288
|
The Following 5 Users Say Thank You to Skry For This Useful Post: | ||
![]() |
2013-03-30
, 00:39
|
|
Posts: 414 |
Thanked: 109 times |
Joined on Mar 2007
@ Silicon Valley
|
#289
|
I've untarred Arch rootfs file onto my microSD card....kept partitioning simple to get this going....figure I can always redo this if I want once I have successfully gotten Arch to run....
So, now onto to Step 5.....have some questions please...
Where do I create the bootmenu item?
Do you mean from inside the /etc/bootmenu.d/ directory on the microSD card where I untarred the rootfs file or ?
Question 2
Only have 2 partitions on my microSD card as follows:
/dev/mmcblk1p1 vfat
/dev/mmcblk1p2 ext2
So, should my bootmenu item look like this:
Mark
Silicon Valley Digerati
Nokia N900
Previous: Nokia N810 & N800