On 02/26/2011 09:41 PM, Πρεκατές Αλέξανδρος wrote: > Thanks for the reply Ed. > > My gta02 boots every 10 sec and the last messages seen before boot is in the > image : > http://imagepaste.nullnetwork.net/viewimage.php?id=1848 > > > The images i used for kernel and qi where from: > http://sourceforge.net/projects/qtmoko/files/ > I took the kernel from: > qtmoko-debian-v31.tar.gz > after extracting it in a local folder. > > > Also if its usefull: > #mke2fs /dev/sde1 > mke2fs 1.41.12 (17-May-2010) > Filesystem label= > OS type: Linux > Block size=4096 (log=2) > Fragment size=4096 (log=2) > Stride=0 blocks, Stripe width=0 blocks > 486720 inodes, 1946368 blocks > 97318 blocks (5.00%) reserved for the super user > First data block=0 > Maximum filesystem blocks=1996488704 > 60 block groups > 32768 blocks per group, 32768 fragments per group > 8112 inodes per group > Superblock backups stored on blocks: > 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632 > > Writing inode tables: done > Writing superblocks and filesystem accounting information: done > > > > > > > > > > Στις Σάββατο 26 Φεβρουάριος 2011 01:14:02 Ed Kapitein γράψατε: >> On 02/25/2011 10:08 PM, Πρεκατές Αλέξανδρος wrote: >>> Having spend a day and some trying to boot qtmoko or shr trying different >>> combinations (bootloader+ distributions + partition scheme ) from two >>> micro sd card i own, without any success , and since the cards are >>> accesible from linux kernel i'd like to pledge for help in that issue. >>> I admit i havent play more with uboot enviroment and uboot prompt but >>> i've tries the rootdelay option................... > >> Hi Alexandros, >> >> I use sd cards to run a distro and it works "fine" ( there are some >> problems with the speed an reliability ) I would suggest to format the sd >> card as one partion with ext2 (on a pc with a sd card reader for example) >> and put the qtmoko kernel in the /boot directory of the card and name it >> uImage-GTA02.bin. >> >> And write "console=tty0 loglevel=3 rootwait panic=10 >> glamo_mci.sd_max_clk=5000000 glamo_mci.sd_post_power_clock=5000000 >> glamo_mci.sd_slow_ratio=16" in /boot/append-GTA02 >> >> Could you please report back what happens when you try to boot then from >> the SD card. It should start a kernel and panic at the end loading the >> kernel. ( there is no init yet) Please hold the power button to get some >> diagnostics printed on your screen. >> >> Kind regards, >> Ed >> >> cut and paste: >> mke2fs /dev/sdb1 ( assuming /dev/sdb is your sd card ) >> mkdir /tmp/mpt >> mount /dev/sdb1 /tmp/mpt >> mkdir /tmp/mpt/boot >> cp /some/place/qtmoko_kernel /tmp/mpt/boot/uImage-GTA02.bin >> echo "console=tty0 loglevel=3 rootwait panic=10 >> glamo_mci.sd_max_clk=5000000 glamo_mci.sd_post_power_clock=5000000 >> glamo_mci.sd_slow_ratio=16" > /tmp/mpt/boot/append-GTA02 umount /tmp/mpt >> eject /dev/sdb >> >> put the card in the freerunner and boot using qi. >
Hi Alexandros, Well, it seems good, the freerunner regonizes the card and loads the kernel. The kernel panic is as expected, there is just a kernel on the card and no distro yet. Could you try to install the root files system from [2] ? After you installed it make sure to install the kernel in /boot as uImage-GTA02.bin and add the /boot/append-GTA02. (you could make a tar file before installing the rootfs) in cut and paste style: mkdir /tmp/mpt mount /dev/sde1 /tmp/mpt cd /tmp/mpt tar -czf /tmp/old_boot.tgz ./boot tar -xzvpf /the/downloaded/qtmoko-debian-v31.tar.gz tar -xzvpf /tmp/old_boot.tgz cd / umount /tmp/mpt eject /dev/sde put the card in the freerunner and boot using qi That should give you a working distro. Please let us know any success/failure! Kind regards, Ed [2] http://sourceforge.net/projects/qtmoko/files/qtmoko-debian-v31.tar.gz/download _______________________________________________ Openmoko community mailing list [email protected] http://lists.openmoko.org/mailman/listinfo/community

