Re: still having trouble getting Neo to boot Qtopia from SD
Because I couldn't get booting from SD to work with either Qtopia or OpenMoko, I tried the other option ( http://wiki.openmoko.org/wiki/Qtopia_on_Neo_1973#Qtopia_AND_OpenMoko_Option_1). It doesn't work, either. The gui vanishes and the last few lines (after lots of lines related to pressing buttons/touching the screen) are: FreeFontPath: FPE built-ins refcount is 2, should be 1; fixing. PM: Removing info for No Bus:vcs3 PM: Removing info for No Bus:vcsa3 xinit: unexpected signal 15. PM: Removing info for No Bus:vcs2 PM: Removing info for No Bus:vcsa2 I've got no idea what any of this means. o.o Any ideas what I'm doing wrong? Ortwin On 10/7/07, Ortwin Regel [EMAIL PROTECTED] wrote: I tried pretty much exactly the steps you described but I can't get booting from SD card to work, neither for Qtopia not for OpenMoko I must be missing something. http://wiki.openmoko.org/wiki/Booting_from_SD seems to suggest that you need to use a specially prepared kernel. Is this so? Any ideas what else could be the problem? Unfortunately the Neo resets so fast when trying to boot from SD that I can't really read what's going on. Ortwin On 9/27/07, Piotr Duda [EMAIL PROTECTED] wrote: ian douglas pisze: [...] So Piotr, could you maybe please post your bash_history for us to see what exactly you did, to get this going? I'd be happy to edit the wiki page for Qtopia on the Neo for booting from SD if I can just get this going -- but experimentation is just frustrating when others obviously have already tried Qtopia on the Neo. Thanks, Ian I have repeated all the steps once again, and below is everything I had to do (as I wrote earlier, I didn't have to add uboot menu). I have verified that both Qtopia from SDcard and Openmoko from nand memory are booting. Still don't have working sound in Qtopia and no time to play with it now. Please notice that I used kernel not from Qtopia site, but most recent I have downloaded for Openmoko. [root: ~] # modprobe mmc_block [root: ~] # modprobe mmc_core [root: ~] # modprobe sdhci [root: ~] # [root: ~] # ls -l /dev/mmcblk0* brw-r- 1 root disk 252, 0 wrz 27 20:08 /dev/mmcblk0 brw-r- 1 root disk 252, 1 wrz 27 20:08 /dev/mmcblk0p1 [root: ~] # [root: ~] # [root: ~] # [root: ~] # mkfs.ext3 /dev/mmcblk0p1 mke2fs 1.38 (30-Jun-2005) Etykieta systemu plików= Typ OS: Linux Rozmiar bloku=1024 (log=0) Rozmiar fragmentu=1024 (log=0) 123952 i-węzłów, 495460 bloków 24773 bloków (5.00%) zarezerwowanych dla superużytkownika Pierwszy blok danych=1 Maksymalna liczba bloków systemu plików=67633152 61 grup bloków 8192 bloków w grupie, 8192 fragmentów w grupie 2032 i-węzłów w grupie Kopie zapasowe superbloku zapisane w blokach: 8193, 24577, 40961, 57345, 73729, 204801, 221185, 401409 Zapis tablicy i-węzłów: zakończono Tworzenie kroniki (8192 bloków): wykonano Zapis superbloków i podsumowania systemu plików: wykonano Ten system plików będzie automatycznie sprawdzany co każde 33 montowań lub co 180 dni, zależnie co nastąpi pierwsze. Można to zmienić poprzez tune2fs -c lub -i. [root: ~] # [root: ~] # [root: ~] # [root: ~] # mount /dev/mmcblk0p1 /media/card [root: ~] # [root: ~] # [root: ~] # [root: ~] # ls -l /media/card/ razem 12 drwx-- 2 root root 12288 wrz 27 20:17 lost+found [root: ~] # [root: ~] # [root: ~] # tar -C /media/card/ -xzf Download/ficgta01- qtopia-developer-rootfs.tgz [root: ~] # [root: ~] # [root: ~] # [root: ~] # [root: ~] # [root: ~] # ls /media/card/ bin boot dev etc home lib lost+found media mnt opt proc sbin sys tmp usr var [root: ~] # [root: ~] # ls /media/card/boot/ zImage [root: ~] # [root: ~] # [root: ~] # cp Download/uImage-2.6.22.5-moko11-r2-fic-gta01.bin/media/card/boot/ [root: ~] # [root: ~] # [root: ~] # cd /media/card/boot/ [root: /media/card/boot] # ls -l razem 1608 -rw-r--r-- 1 root root 1637614 wrz 27 20:29 uImage-2.6.22.5-moko11-r2-fic-gta01.bin lrwxrwxrwx 1 root root 22 wrz 27 20:27 zImage - zImage-2.6.21.6-moko11 [root: /media/card/boot] # ln -s uImage-2.6.22.5-moko11-r2-fic-gta01.binuImage [root: /media/card/boot] # [root: /media/card/boot] # [root: /media/card/boot] # [root: /media/card/boot] # ls -l razem 1608 lrwxrwxrwx 1 root root 39 wrz 27 20:30 uImage - uImage-2.6.22.5-moko11-r2-fic-gta01.bin -rw-r--r-- 1 root root 1637614 wrz 27 20:29 uImage-2.6.22.5-moko11-r2-fic-gta01.bin lrwxrwxrwx 1 root root 22 wrz 27 20:27 zImage - zImage-2.6.21.6-moko11 [root: /media/card/boot] # [root: /media/card/boot] # [root: /media/card/boot] # [root: /media/card/boot] # cd [root: ~] # [root: ~] # [root: ~] # umount /media/card [root: ~] # [root: ~] # and that's it... Piotr P.S. sorry for output in polish, but it is nothing important... good luck
Re: still having trouble getting Neo to boot Qtopia from SD
I tried pretty much exactly the steps you described but I can't get booting from SD card to work, neither for Qtopia not for OpenMoko I must be missing something. http://wiki.openmoko.org/wiki/Booting_from_SD seems to suggest that you need to use a specially prepared kernel. Is this so? Any ideas what else could be the problem? Unfortunately the Neo resets so fast when trying to boot from SD that I can't really read what's going on. Ortwin On 9/27/07, Piotr Duda [EMAIL PROTECTED] wrote: ian douglas pisze: [...] So Piotr, could you maybe please post your bash_history for us to see what exactly you did, to get this going? I'd be happy to edit the wiki page for Qtopia on the Neo for booting from SD if I can just get this going -- but experimentation is just frustrating when others obviously have already tried Qtopia on the Neo. Thanks, Ian I have repeated all the steps once again, and below is everything I had to do (as I wrote earlier, I didn't have to add uboot menu). I have verified that both Qtopia from SDcard and Openmoko from nand memory are booting. Still don't have working sound in Qtopia and no time to play with it now. Please notice that I used kernel not from Qtopia site, but most recent I have downloaded for Openmoko. [root: ~] # modprobe mmc_block [root: ~] # modprobe mmc_core [root: ~] # modprobe sdhci [root: ~] # [root: ~] # ls -l /dev/mmcblk0* brw-r- 1 root disk 252, 0 wrz 27 20:08 /dev/mmcblk0 brw-r- 1 root disk 252, 1 wrz 27 20:08 /dev/mmcblk0p1 [root: ~] # [root: ~] # [root: ~] # [root: ~] # mkfs.ext3 /dev/mmcblk0p1 mke2fs 1.38 (30-Jun-2005) Etykieta systemu plików= Typ OS: Linux Rozmiar bloku=1024 (log=0) Rozmiar fragmentu=1024 (log=0) 123952 i-węzłów, 495460 bloków 24773 bloków (5.00%) zarezerwowanych dla superużytkownika Pierwszy blok danych=1 Maksymalna liczba bloków systemu plików=67633152 61 grup bloków 8192 bloków w grupie, 8192 fragmentów w grupie 2032 i-węzłów w grupie Kopie zapasowe superbloku zapisane w blokach: 8193, 24577, 40961, 57345, 73729, 204801, 221185, 401409 Zapis tablicy i-węzłów: zakończono Tworzenie kroniki (8192 bloków): wykonano Zapis superbloków i podsumowania systemu plików: wykonano Ten system plików będzie automatycznie sprawdzany co każde 33 montowań lub co 180 dni, zależnie co nastąpi pierwsze. Można to zmienić poprzez tune2fs -c lub -i. [root: ~] # [root: ~] # [root: ~] # [root: ~] # mount /dev/mmcblk0p1 /media/card [root: ~] # [root: ~] # [root: ~] # [root: ~] # ls -l /media/card/ razem 12 drwx-- 2 root root 12288 wrz 27 20:17 lost+found [root: ~] # [root: ~] # [root: ~] # tar -C /media/card/ -xzf Download/ficgta01- qtopia-developer-rootfs.tgz [root: ~] # [root: ~] # [root: ~] # [root: ~] # [root: ~] # [root: ~] # ls /media/card/ bin boot dev etc home lib lost+found media mnt opt proc sbin sys tmp usr var [root: ~] # [root: ~] # ls /media/card/boot/ zImage [root: ~] # [root: ~] # [root: ~] # cp Download/uImage-2.6.22.5-moko11-r2-fic-gta01.bin/media/card/boot/ [root: ~] # [root: ~] # [root: ~] # cd /media/card/boot/ [root: /media/card/boot] # ls -l razem 1608 -rw-r--r-- 1 root root 1637614 wrz 27 20:29 uImage-2.6.22.5-moko11-r2-fic-gta01.bin lrwxrwxrwx 1 root root 22 wrz 27 20:27 zImage - zImage-2.6.21.6-moko11 [root: /media/card/boot] # ln -s uImage-2.6.22.5-moko11-r2-fic-gta01.binuImage [root: /media/card/boot] # [root: /media/card/boot] # [root: /media/card/boot] # [root: /media/card/boot] # ls -l razem 1608 lrwxrwxrwx 1 root root 39 wrz 27 20:30 uImage - uImage-2.6.22.5-moko11-r2-fic-gta01.bin -rw-r--r-- 1 root root 1637614 wrz 27 20:29 uImage-2.6.22.5-moko11-r2-fic-gta01.bin lrwxrwxrwx 1 root root 22 wrz 27 20:27 zImage - zImage-2.6.21.6-moko11 [root: /media/card/boot] # [root: /media/card/boot] # [root: /media/card/boot] # [root: /media/card/boot] # cd [root: ~] # [root: ~] # [root: ~] # umount /media/card [root: ~] # [root: ~] # and that's it... Piotr P.S. sorry for output in polish, but it is nothing important... good luck ___ OpenMoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community ___ OpenMoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: still having trouble getting Neo to boot Qtopia from SD
Ortwin Regel pisze: I tried pretty much exactly the steps you described but I can't get booting from SD card to work, neither for Qtopia not for OpenMoko I must be missing something. http://wiki.openmoko.org/wiki/Booting_from_SD seems to suggest that you need to use a specially prepared kernel. Is this so? Any ideas what else could be the problem? Unfortunately the Neo resets so fast when trying to boot from SD that I can't really read what's going on. Ortwin Have no idea, how to help you... I have used kernel uImage-2.6.22.5-moko11-r2-fic-gta01.bin file, I have downloaded from http://buildhost.openmoko.org/... so I didnt have to modify or/and compile anything... Piotr ___ OpenMoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: still having trouble getting Neo to boot Qtopia from SD
Hi Ian, I have to admit I have not had time to out this on my SD card yet but I have booted it from the neo normally. On 27/09/2007, ian douglas [EMAIL PROTECTED] wrote: So to recap what I've tried, that doesn't work to get Qtopia on my SD card and boot from SD: I went to http://www.qtopia.net/modules/devices/openmoko.php and downloaded the three files under Qtopia for the Neo1973 Downloads, and unpacked them onto a 2GB microSD card, formatted as ext3: # mount /dev/sdc1 /media/sdcard # tar -C /media/sdcard -zxvf \ /path/to/qtopia/ficgta01-qtopia-developer-rootfs.tgz # tar -C /media/sdcard -zxvf \ /path/to/qtopia/arm920t-eabi-ficgta01-toolchain.tgz # tar -C /media/sdcard/boot/ -xzvf \ /path/to/qtopia/qtopia-4.3.0-preview-neo-flash.tgz ... the last step of course placed the uImage file and the rootfs file into the SD card's /boot/ folder (there's no documentation anywhere that describes where else to place these, so I was guessing as I went) Looks like your problem is that you do not need the developer rootfs or the toolchain to boot into qtopia from the sd card. Inside /path/to/qtopia/qtopia-4.3.0-preview-neo-flash.tgz as you noted is the rootfs and the uImage. These are the only two you need. uImage in /boot/ and rootfs in / If I have time tonight I will confirm this for you. always too busy with work... -Pete ___ OpenMoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: still having trouble getting Neo to boot Qtopia from SD
Yeah, I can flash it to the Neo and use it that way, but I was hoping for the dual-boot feature that others have talked about. -id Peter A Trotter wrote: I have to admit I have not had time to out this on my SD card yet but I have booted it from the neo normally. ___ OpenMoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: still having trouble getting Neo to boot Qtopia from SD
ian douglas pisze: [...] So Piotr, could you maybe please post your bash_history for us to see what exactly you did, to get this going? I'd be happy to edit the wiki page for Qtopia on the Neo for booting from SD if I can just get this going -- but experimentation is just frustrating when others obviously have already tried Qtopia on the Neo. Thanks, Ian I have repeated all the steps once again, and below is everything I had to do (as I wrote earlier, I didn't have to add uboot menu). I have verified that both Qtopia from SDcard and Openmoko from nand memory are booting. Still don't have working sound in Qtopia and no time to play with it now. Please notice that I used kernel not from Qtopia site, but most recent I have downloaded for Openmoko. [root: ~] # modprobe mmc_block [root: ~] # modprobe mmc_core [root: ~] # modprobe sdhci [root: ~] # [root: ~] # ls -l /dev/mmcblk0* brw-r- 1 root disk 252, 0 wrz 27 20:08 /dev/mmcblk0 brw-r- 1 root disk 252, 1 wrz 27 20:08 /dev/mmcblk0p1 [root: ~] # [root: ~] # [root: ~] # [root: ~] # mkfs.ext3 /dev/mmcblk0p1 mke2fs 1.38 (30-Jun-2005) Etykieta systemu plików= Typ OS: Linux Rozmiar bloku=1024 (log=0) Rozmiar fragmentu=1024 (log=0) 123952 i-węzłów, 495460 bloków 24773 bloków (5.00%) zarezerwowanych dla superużytkownika Pierwszy blok danych=1 Maksymalna liczba bloków systemu plików=67633152 61 grup bloków 8192 bloków w grupie, 8192 fragmentów w grupie 2032 i-węzłów w grupie Kopie zapasowe superbloku zapisane w blokach: 8193, 24577, 40961, 57345, 73729, 204801, 221185, 401409 Zapis tablicy i-węzłów: zakończono Tworzenie kroniki (8192 bloków): wykonano Zapis superbloków i podsumowania systemu plików: wykonano Ten system plików będzie automatycznie sprawdzany co każde 33 montowań lub co 180 dni, zależnie co nastąpi pierwsze. Można to zmienić poprzez tune2fs -c lub -i. [root: ~] # [root: ~] # [root: ~] # [root: ~] # mount /dev/mmcblk0p1 /media/card [root: ~] # [root: ~] # [root: ~] # [root: ~] # ls -l /media/card/ razem 12 drwx-- 2 root root 12288 wrz 27 20:17 lost+found [root: ~] # [root: ~] # [root: ~] # tar -C /media/card/ -xzf Download/ficgta01-qtopia-developer-rootfs.tgz [root: ~] # [root: ~] # [root: ~] # [root: ~] # [root: ~] # [root: ~] # ls /media/card/ bin boot dev etc home lib lost+found media mnt opt proc sbin sys tmp usr var [root: ~] # [root: ~] # ls /media/card/boot/ zImage [root: ~] # [root: ~] # [root: ~] # cp Download/uImage-2.6.22.5-moko11-r2-fic-gta01.bin /media/card/boot/ [root: ~] # [root: ~] # [root: ~] # cd /media/card/boot/ [root: /media/card/boot] # ls -l razem 1608 -rw-r--r-- 1 root root 1637614 wrz 27 20:29 uImage-2.6.22.5-moko11-r2-fic-gta01.bin lrwxrwxrwx 1 root root 22 wrz 27 20:27 zImage - zImage-2.6.21.6-moko11 [root: /media/card/boot] # ln -s uImage-2.6.22.5-moko11-r2-fic-gta01.bin uImage [root: /media/card/boot] # [root: /media/card/boot] # [root: /media/card/boot] # [root: /media/card/boot] # ls -l razem 1608 lrwxrwxrwx 1 root root 39 wrz 27 20:30 uImage - uImage-2.6.22.5-moko11-r2-fic-gta01.bin -rw-r--r-- 1 root root 1637614 wrz 27 20:29 uImage-2.6.22.5-moko11-r2-fic-gta01.bin lrwxrwxrwx 1 root root 22 wrz 27 20:27 zImage - zImage-2.6.21.6-moko11 [root: /media/card/boot] # [root: /media/card/boot] # [root: /media/card/boot] # [root: /media/card/boot] # cd [root: ~] # [root: ~] # [root: ~] # umount /media/card [root: ~] # [root: ~] # and that's it... Piotr P.S. sorry for output in polish, but it is nothing important... good luck ___ OpenMoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: still having trouble getting Neo to boot Qtopia from SD
well, it is very simple to make sound to work, I need to update kernel modules for this... :-) Piotr Duda pisze: [...] Still don't have working sound in Qtopia and no time to play with it now. Please notice that I used kernel not from Qtopia site, but most recent I have downloaded for Openmoko. ___ OpenMoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
still having trouble getting Neo to boot Qtopia from SD
So to recap what I've tried, that doesn't work to get Qtopia on my SD card and boot from SD: I went to http://www.qtopia.net/modules/devices/openmoko.php and downloaded the three files under Qtopia for the Neo1973 Downloads, and unpacked them onto a 2GB microSD card, formatted as ext3: # mount /dev/sdc1 /media/sdcard # tar -C /media/sdcard -zxvf \ /path/to/qtopia/ficgta01-qtopia-developer-rootfs.tgz # tar -C /media/sdcard -zxvf \ /path/to/qtopia/arm920t-eabi-ficgta01-toolchain.tgz # tar -C /media/sdcard/boot/ -xzvf \ /path/to/qtopia/qtopia-4.3.0-preview-neo-flash.tgz ... the last step of course placed the uImage file and the rootfs file into the SD card's /boot/ folder (there's no documentation anywhere that describes where else to place these, so I was guessing as I went) # cd /media/sdcard/boot # ln -s uImage-2.6.21.6-moko11-r2-fic-gta01.bin uImage This, of course symlinks the uImage file since the uboot menu only needs a file called uImage Then I ejected the SD card from my Linux box, put the SD card into my Neo, powered up to the uboot menu, selected 'Boot from SD', and I get the kernel panic I posted earlier. (relisted below) So obviously having uImage-2.6.21.6-moko11-r2-fic-gta01.bin and qtopia-rootfs.2-09180703.jffs2 in the /boot/ folder isn't right, so I put the SD card back into my Linux box and moved the files up a level so they would be in the 'root' folder of the file system: # mount /dev/sdc1 /media/sdcard # cd /media/sdcard/boot # mv uImage-2.6.21.6-moko11-r2-fic-gta01.bin ../ # mv qtopia-rootfs.2-09180703.jffs2 ../ # rm uImage # ln -s ../uImage-2.6.21.6-moko11-r2-fic-gta01.bin uImage # sync ; cd ; eject /dev/sdc1 That didn't work either... same kernel panic: (last 5 lines included here) Waiting 5sec before mounting root device... Root-NFS: No NFS server available, giving up. NFS: Unable to mount root fs via NFS, trying floppy. NFS: Cannot open root device mmcblk0p1 or unknown-block(0,2) Please append a correct root= boot option Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,2) So Piotr, could you maybe please post your bash_history for us to see what exactly you did, to get this going? I'd be happy to edit the wiki page for Qtopia on the Neo for booting from SD if I can just get this going -- but experimentation is just frustrating when others obviously have already tried Qtopia on the Neo. Thanks, Ian ___ OpenMoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community