![]() |
2013-04-28
, 17:17
|
Posts: 17 |
Thanked: 9 times |
Joined on Apr 2012
@ India
|
#663
|
![]() |
2013-04-28
, 18:31
|
|
Posts: 414 |
Thanked: 109 times |
Joined on Mar 2007
@ Silicon Valley
|
#664
|
/etc/bootmenu/d/20-archlinux.item
It should be /etc/bootmenu.d/20-archlinux.item
#u-boot-update-bootmenu Adding bootmenu entry for: 'Maemo 5 with attached kernel 2.6.28-omap1 (Internal Nand)' Configuration file: /etc/bootmenu.d/20-archlinux.item Warning: Invalid file - missing kernel or script - skipping.... Generating u-boot bootmenu script....
![]() |
2013-04-28
, 19:20
|
Posts: 17 |
Thanked: 9 times |
Joined on Apr 2012
@ India
|
#665
|
The Following User Says Thank You to starkwiz For This Useful Post: | ||
![]() |
2013-04-28
, 19:32
|
|
Posts: 414 |
Thanked: 109 times |
Joined on Mar 2007
@ Silicon Valley
|
#666
|
I believe this is the original article for arch linux on n900:
http://talk.maemo.org/showthread.php?t=81892
It suggests an option of using latest version of archlinux arm, you might want to try it, instead of using already modified archlinux rootfs.
Also it suggests running "sync" command after extracting files to make sure all the data is actually written to disk and not in buffer.
Before you to try the other option, can you try extracting again and run the sync command.
Make sure that uimage exists in /mnt/boot
Then run u-boot-update-menu while p5 is not mounted.
I am not really sure how u-boot-update-menu accesses the image file location and if it needs to be mounted, while running the command.
So, just wondering if mounting that partition is locking access to uimage.
![]() |
2013-04-28
, 20:56
|
|
Posts: 4,118 |
Thanked: 8,901 times |
Joined on Aug 2010
@ Ruhrgebiet, Germany
|
#667
|
Thanks....
So, installed u-boot-flasher via apt-get....
I created a new u-boot menu entry as follows:
Code:ITEM_NAME="Arch Linux ARM (eMMC)" ITEM_KERNEL="/boot/uImage" ITEM_DEVICE="${INT_CARD}p5" ITEM_FSTYPE="ext3" ITEM_OMAPATAG="1" ITEM_CMDLINE="root=/dev/mmcblk0p5 rootwait init=/bin/systemd omapfb.vram=0:3M,1:3M,2:3M quiet"
![]() |
2013-04-28
, 23:02
|
|
Posts: 414 |
Thanked: 109 times |
Joined on Mar 2007
@ Silicon Valley
|
#669
|
Just a simple question: did you edit that item file under Windows?
Then it is obvious ...
And one more, but not related to your posted problem: I do not know about arch kernel to see the devices on N900. Maybe you need to change your "root=/dev/mmcblk0p5" to "root=/dev/mmcblk1p5".
![]() |
2013-04-28
, 23:16
|
|
Posts: 414 |
Thanked: 109 times |
Joined on Mar 2007
@ Silicon Valley
|
#670
|
![]() |
Tags |
bootmenu, u-boot |
Thread Tools | |
|
1. I just did
However, I reboot and then do mount command /dev/mmcblk0p5 is not listed. Only /dev/mmcblk0p2 and /dev/mmcblk0p1 are shown plus 4-5 other mount points....
So, I have to do
And then I do 'u-boot-update-bootmenu' and get the error message I wrote before:
2. When I do 'ls' in '/mnt', I do see all the Arch Linux directories listed that I extracted from the rootfs file....
Strange.....
I have a feeling there's something very simple that is wrong....just have to find it.....
Mark
Silicon Valley Digerati
Nokia N900
Previous: Nokia N810 & N800