riv64
|
2012-05-20
, 14:58
|
Posts: 44 |
Thanked: 77 times |
Joined on Jan 2012
|
#271
|
|
2012-05-20
, 15:38
|
Posts: 804 |
Thanked: 1,598 times |
Joined on Feb 2010
@ Gdynia, Poland
|
#272
|
Yes, I have free space, and I managed to solve the problem applying the changes I showed you, thanks (btw, I rebooted the device before noticing the error, and I got stuck in a reboot loop, but that's another story ).
Anyway, could you reproduce the issue? Maybe I did something wrong, but I think that adding the additional check that I suggested you won't do any harm.
cat: can't open '/var/tmp/bootmenu.cmd.default': No such file or directory
I think this happens if you don't set any default entry (you don't create the symlink "bootmenu.item" in /etc/default/).
|
2012-05-20
, 21:15
|
|
Moderator |
Posts: 2,622 |
Thanked: 5,447 times |
Joined on Jan 2010
|
#273
|
/etc/bootmenu.d $ 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-Maemo5-kernel-power-2.6.28.10-power50.item Generating u-boot image for kernel 'zImage-2.6.28.10-power50'... Adding bootmenu entry for: 'Maemo 5 with kernel-power 2.6.28.10-power50' Configuration file: /etc/bootmenu.d/nitdroid.ext.item Adding bootmenu entry for: 'NITDroid 2.6.28.NIT.06' cat: can't open '/var/tmp/bootmenu.cmd.default': No such file or directory
The Following 3 Users Say Thank You to qwazix For This Useful Post: | ||
|
2012-05-20
, 21:35
|
Posts: 804 |
Thanked: 1,598 times |
Joined on Feb 2010
@ Gdynia, Poland
|
#274
|
2 questions.
First I get the following errors after u-boot-update-bootmenu
Thr kp.item is the one that came with kp-bootimg from extras-testing and the nitdroid one I wrote it myself (probably doesn't work anyway, but it doesn't seem to be the problem)Code:/etc/bootmenu.d $ 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-Maemo5-kernel-power-2.6.28.10-power50.item Generating u-boot image for kernel 'zImage-2.6.28.10-power50'... Adding bootmenu entry for: 'Maemo 5 with kernel-power 2.6.28.10-power50' Configuration file: /etc/bootmenu.d/nitdroid.ext.item Adding bootmenu entry for: 'NITDroid 2.6.28.NIT.06' cat: can't open '/var/tmp/bootmenu.cmd.default': No such file or directory
2nd, I want to boot kernel power by default (in fact I don't even care about PR1.3, I don't need it) how can it be done? I suppose I can generate attached kernel on my pc and flash it just like I did with kp49 but isn't this new uboot supposed to make it easier to upgrade kp?
Thanks
EDIT: feeling stupid. I read the above post and saw I must have a /etc/default/bootmenu.item
please add a more detailed warning in the error or mention the need for this file in the first post. Suppose both my questions are now answered. Rebooting now...
ln -s /etc/bootmenu.d/20-Maemo5-kernel-power-2.6.28.10-power50.item /etc/default/bootmenu.item u-boot-update-bootmenu
The Following User Says Thank You to misiak For This Useful Post: | ||
|
2012-05-20
, 21:41
|
|
Moderator |
Posts: 2,622 |
Thanked: 5,447 times |
Joined on Jan 2010
|
#275
|
|
2012-05-20
, 21:43
|
Posts: 804 |
Thanked: 1,598 times |
Joined on Feb 2010
@ Gdynia, Poland
|
#276
|
yes I did that but it does not boot. Neither does NitDroid (after reinstalling kernel which recreated the -hopefully- correct item file. I can only boot attached kernel. Kp hangs and nitdroid complains it cannot find the file. Have to go to sleep now but I'll try again tomorrow. G'night.
|
2012-05-20
, 21:49
|
|
Moderator |
Posts: 2,622 |
Thanked: 5,447 times |
Joined on Jan 2010
|
#277
|
|
2012-05-20
, 21:59
|
Posts: 804 |
Thanked: 1,598 times |
Joined on Feb 2010
@ Gdynia, Poland
|
#278
|
The Following 2 Users Say Thank You to misiak For This Useful Post: | ||
|
2012-05-21
, 18:43
|
|
Moderator |
Posts: 2,622 |
Thanked: 5,447 times |
Joined on Jan 2010
|
#279
|
The Following User Says Thank You to qwazix For This Useful Post: | ||
|
2012-05-21
, 19:42
|
|
Moderator |
Posts: 2,622 |
Thanked: 5,447 times |
Joined on Jan 2010
|
#280
|
ITEM_NAME="NITDroid 2.6.28.NIT.07 on mmcblk1p2" ITEM_KERNEL=2.6.28.NIT.07 ITEM_MODULES=ext3 ITEM_DEVICE=${EXT_CARD}p2 ITEM_FSTYPE=ext3 ITEM_FSOPTIONS=rw,noatime,errors=remount-ro