misiak
|
2012-08-05
, 15:37
|
Posts: 804 |
Thanked: 1,598 times |
Joined on Feb 2010
@ Gdynia, Poland
|
#441
|
|
2012-08-05
, 18:15
|
Posts: 1,808 |
Thanked: 4,272 times |
Joined on Feb 2011
@ Germany
|
#442
|
You can always hand write all commands in the console, or create a u-boot script to write on SD and then call it from the console
The Following User Says Thank You to reinob For This Useful Post: | ||
|
2012-08-05
, 18:40
|
Posts: 1,808 |
Thanked: 4,272 times |
Joined on Feb 2011
@ Germany
|
#443
|
setenv mmcnum 1 setenv mmcpart 1 setenv mmctype fat setenv mmckernfile bootmenu.img.d/zImage-2.6.28-omap1-fb setenv atagaddr 0x80000100 setenv bootargs init=/bin/sh ubi.mtd=rootfs root=ubi0:rootfs rootfstype=ubifs rootflags=bulk_read,no_chk_data_crc rw console=ttyMTD,log console=tty0
UBIFS error (pid 1): ubifs_get_sb: cannot open "/dev/root: , error [...] List of all partitions: No filesystem could mount root, tried: ubifs Kernel panic - not syncing: VFS: Unable to mount root fs on unkwown [...]
The Following User Says Thank You to reinob For This Useful Post: | ||
|
2012-08-05
, 21:47
|
Posts: 362 |
Thanked: 426 times |
Joined on Nov 2010
@ Italy, Lombardia
|
#444
|
This looks very promising, but obviously I'm missing something.
Considering the PITA of having to type all these things on the U-boot console I will now stop and ASK, PLEASE, ANYONE, is there anything I'm still missing?
The Following User Says Thank You to Fabry For This Useful Post: | ||
|
2012-08-05
, 21:56
|
Posts: 362 |
Thanked: 426 times |
Joined on Nov 2010
@ Italy, Lombardia
|
#445
|
OK. In the console I did:
and then run trymmckernboot
The kernel started (with framebuffer console), but then stopped after printing this (I made, and attach, a photo of it
The Following User Says Thank You to Fabry For This Useful Post: | ||
|
2012-08-05
, 22:48
|
Posts: 1,808 |
Thanked: 4,272 times |
Joined on Feb 2011
@ Germany
|
#446
|
No hope to use your SD ?
If yes, you can create a script file (or two scripts: common-part, kernel-bootarg), convert it by mkimage, copy it to SD, launch it by u-boot's console.
This should reduce the hassle of having to write everything every time.
|
2012-08-05
, 22:52
|
Posts: 1,808 |
Thanked: 4,272 times |
Joined on Feb 2011
@ Germany
|
#447
|
If you load fb-kernel without changing bootargs what happens ?
Root is mounted or not ?
I would not have corrupted the NAND file system and now you need a sort of UbiFS filesystem check utility
|
2012-08-05
, 23:16
|
Posts: 1,225 |
Thanked: 1,905 times |
Joined on Feb 2011
@ Quezon City, Philippines
|
#448
|
OK. In the console I did:
Considering the PITA of having to type all these things on the U-boot console I will now stop and ASK, PLEASE, ANYONE, is there anything I'm still missing?
I'll wait. No hurry. But I'm going a bit crazy (and the weekend is coming to an end -- meaning no more real time to play with this), and I have the feeling that I can still pull this off and unbrick the N900.
|
2012-08-05
, 23:37
|
Posts: 1,808 |
Thanked: 4,272 times |
Joined on Feb 2011
@ Germany
|
#449
|
/sbin/preinit is responsible for some bizarro pre-init stuff. Don't skip it.
What you should do:
Convert the RescueOS image into a uImage and its initrd into a uInitrd. Load them off another SD card (some N900s may be picky) and do what you have to do.
You just bricked a rather important part of Maemo, and there's no way you're restoring it without some help from external software.
The Following User Says Thank You to reinob For This Useful Post: | ||
|
2012-08-06
, 16:50
|
Posts: 1,808 |
Thanked: 4,272 times |
Joined on Feb 2011
@ Germany
|
#450
|
VFS: Cannot open root device "ubi0:rootfs" or unknown-block(0,0) Please append a correct "root=" boot option; here are the available partitions: Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
UBIFS error (pid 1): ubifs_get_sb: cannot open "/dev/root: , error [...] List of all partitions: No filesystem could mount root, tried: ubifs Kernel panic - not syncing: VFS: Unable to mount root fs on unknown [...]
The Following User Says Thank You to reinob For This Useful Post: | ||