Images, Sources, Rootfs!
#16
Posted 14 July 2010 - 03:38 PM
Be sure you have u-boot from HF3, older one can't load kernel from ext2 (but it should complain differently in that case though).
#17
Posted 14 July 2010 - 10:25 PM
#18
Posted 14 July 2010 - 10:36 PM
Uboot starts loading of the kernel image, then just black screen. No logs or error messages.
I suspect that the problem is caused by bootchart, because the gentoo rootfs does not contain the daemon. Specifying 'root=/linuxrc' or 'root=/sbin/init' doesn't help.
So i need a very base kernel to start with.
The pandora rootfs works fine BTW.
#19
Posted 14 July 2010 - 10:44 PM
Drop the console= part in bootargs and you should have atleast some output regardless of the rootfs, no?I can not load the neuvoo stage 3 using the default Pandora kernel.
Uboot starts loading of the kernel image, then just black screen. No logs or error messages.
I suspect that the problem is caused by bootchart, because the gentoo rootfs does not contain the daemon. Specifying 'root=/linuxrc' or 'root=/sbin/init' doesn't help.
So i need a very base kernel to start with.
The pandora rootfs works fine BTW.
#20
Posted 15 July 2010 - 08:12 AM
- remove card 2 (with data, pnds, pandora-rootfs.tar.bz2, etc) - just for to be safe
- open terminal
- unmount card 1 and mkfs - I gues that it is much more fast then deleting all that files
sudo umount /media/myvolumesudo mkfs -L myvolume /dev/mmcblk0p1
- exit terminal
- remove and after a while reinsert card 1 (empty one) then insert card 2 (with data)
cd /media/myvolume/sudo tar xvf /media/datacard/pandora-rootfs.tar.bz2sudo cp /media/datacard/boot.txt /media/myvolume/
Loading file "boot.txt" from mmc1 device 0:1 (xxa1)
186 bytes read
## Executing plain script at 82000000
" from mmc device 0:1 (xxa1).6.27.46-omap1
** File not found /boot/uImage-2.6.27.46-omap1
bootm - boot application imagem from memory
Usage:
bootm [addr [arg ...]]
- boot application image stored in memory
passing arguments 'arg ...'; when booting a Linux kernel.
'arg' can be the address of an initrd image
Sub-commands to do partof the bootm sequence. The sub-commands must be
issued in the order below (it's ok to not issue all sub-commands):
start [addr [arg ...]]
loados - load OS image
cmdline - OS specific command line processing/setup
bdt - OS specific bd_t processing
prep - OS specific prep before relocating or go
go - start OS
script finished.
An here is my boot.txt (doesn't work neither with not without "0x" prefixes):setenv bootargs debug root=/dev/mmcblk0p1 rw rootdelay=2 console=ttyS0,115200n8 vram=6272K omapfb.vram=0:3000K ext2load mmc 0 0x80300000 /boot/uImage-2.6.27.46-omap1 bootm 0x80300000
#21
Posted 15 July 2010 - 08:15 AM
Can You explain me (step by step) how You prepare SD card and extract rootfs to it? Just for comparison. My steps are closely described above. Thank You very much. :-)...The pandora rootfs works fine BTW.
#22
Posted 15 July 2010 - 08:24 AM
Try this version:An here is my boot.txt (doesn't work neither with not without "0x" prefixes):
setenv bootargs debug root=/dev/mmcblk0p1 rw rootdelay=2 console=ttyS0,115200n8 vram=6272K omapfb.vram=0:3000K ext2load mmc1 0 80300000 /boot/uImage-2.6.27.46-omap1 bootm 80300000
Sorry i didnt have the time to actually check, but atleast u-boots default environment parameters use ext2load mmc1 to load autoboot.txt, etc, so IMHO worth a shot. Also it seems that you can prepend hex values with 0x, but i dont think it is needed, so whatever...
EDIT: Have you installed HF3 to the NAND? - it (or some HF on the way, but atleast it) has an update to u-boot that allows ext2load to work (at all).
Edited by urjaman, 15 July 2010 - 09:14 AM.
#23
Posted 15 July 2010 - 09:39 AM
#24
Posted 15 July 2010 - 09:44 AM
If boot menu has "USB serial" option in it then it has the fix too.how to check?
#25
Posted 15 July 2010 - 10:26 AM
#26
Posted 15 July 2010 - 10:58 AM
Mounting your NAND is rather simple, as root:
[code=auto:0]ubiattach /dev/ubi_ctrl -m 4
mount -t ubifs ubi0:rootfs /path/to/mount/point[code]
[/quote]
So if I want to make this permanent, I understand that /etc/fstab should accept the mount information - how about the first part?
(I want it for the wiki...)
http://pandorawiki.o...ootable_SD_card
#27
Posted 15 July 2010 - 11:14 AM
Login as root (su) and do the following:Can You explain me (step by step) how You prepare SD card and extract rootfs to it? Just for comparison. My steps are closely described above. Thank You very much. :-)...The pandora rootfs works fine BTW.
fdiskand create sdb1:
/dev/sdb1 1 5572 15754810+ 83 Linux
mkfs.ext2 /dev/sdb1 mount /dev/sdb1 /mnt/sd tar xvpf pandora-rootfs.tar.bz2 -C /mnt/sd cp ~/boot.txt /mnt/sd
#28
Posted 15 July 2010 - 11:39 AM
No success. I don't set partition as active (boot flag) at first, then activate it, but still the same result. It is 8 GB SunDisk. I try use older 1 GB SunDisk card an say result. Just moving files and preparing card.Try redoing the partition table too.
EDIT Vitel: This is what I do :-( I do this on my Pandora, as I have only Win7 on my PC (and just working on it). If switching cads gets nothing, I can try boot Linux from USBflash and redo it from bigger computer. But I guess that this has nothing with rough power :-)
Edited by peca, 15 July 2010 - 11:44 AM.
#29
Posted 15 July 2010 - 01:25 PM
I try reinstall HF3, but I really have it installed already.
#30
Posted 15 July 2010 - 04:02 PM
setenv bootargs debug root=/dev/mmcblk0p1 rw rootdelay=2 console=ttyS0,115200n8 vram=6272K omapfb.vram=0:3000K ext2load mmc1 0:1 80300000 /boot/uImage-2.6.27.46-omap1 bootm 80300000
I had a hacker moment with u-boot over USB serial and the previous notation doesnt work (atleast with ext2ls, I didnt want to load anything).











