User:Vpv/Booting Qtopia

From Openmoko

< User:Vpv(Difference between revisions)
Jump to: navigation, search
(New page: = How to boot Qtopia from the SD card = This howto is probably incomplete. I also suggest not to directly copy paste anything from here, because I've written this after doing all the work....)
 
m (Setting up u-boot)
Line 6: Line 6:
 
  sudo ./neocon -t 30 /dev/ttyACM0
 
  sudo ./neocon -t 30 /dev/ttyACM0
 
* Boot into NAND u-boot ('''not''' NOR) with the USB cable connected between the phone and your computer, see [[Getting_Started_with_your_Neo_FreeRunner#Log_into_U-Boot_in_the_NAND_Flash]]
 
* Boot into NAND u-boot ('''not''' NOR) with the USB cable connected between the phone and your computer, see [[Getting_Started_with_your_Neo_FreeRunner#Log_into_U-Boot_in_the_NAND_Flash]]
 +
** NAND is usually the one without the nice Openmoko logo ;)
 
* When the menu hopefully comes up in neocon do:
 
* When the menu hopefully comes up in neocon do:
 
  setenv menu_1 Boot from microSD (FAT+ext3): setenv bootargs ${bootargs_base} rootfstype=ext3 root=/dev/mmcblk0p2 rootdelay=5 ${mtdparts} ro\; mmcinit\; fatload mmc 1 0x32000000 ${sd_image_name}\; bootm 0x32000000
 
  setenv menu_1 Boot from microSD (FAT+ext3): setenv bootargs ${bootargs_base} rootfstype=ext3 root=/dev/mmcblk0p2 rootdelay=5 ${mtdparts} ro\; mmcinit\; fatload mmc 1 0x32000000 ${sd_image_name}\; bootm 0x32000000

Revision as of 21:23, 15 July 2008

Contents

How to boot Qtopia from the SD card

This howto is probably incomplete. I also suggest not to directly copy paste anything from here, because I've written this after doing all the work. In case it's important, I used Fedora to do all this stuff.

Setting up u-boot

  • Get NeoCon and run it as follows:
sudo ./neocon -t 30 /dev/ttyACM0
setenv menu_1 Boot from microSD (FAT+ext3): setenv bootargs ${bootargs_base} rootfstype=ext3 root=/dev/mmcblk0p2 rootdelay=5 ${mtdparts} ro\; mmcinit\; fatload mmc 1 0x32000000 ${sd_image_name}\; bootm 0x32000000
  • Then save the environment by doing:
saveenv

This should make the Neo boot from an ext3 partition on the SD card. The kernel can't boot from an ext2 partition currently even though it was the default setting for the bootloader.

Getting Qtopia and extracting the jffs2 image

Actually booting Qtopia on the phone

Insert the SD card into the phone, boot to NAND u-boot (again, not to NOR), choose Boot from microSD (FAT+ext3) and the phone should start booting Qtopia.

Personal tools

How to boot Qtopia from the SD card

This howto is probably incomplete. I also suggest not to directly copy paste anything from here, because I've written this after doing all the work. In case it's important, I used Fedora to do all this stuff.

Setting up u-boot

  • Get NeoCon and run it as follows:
sudo ./neocon -t 30 /dev/ttyACM0
setenv menu_1 Boot from microSD (FAT+ext3): setenv bootargs ${bootargs_base} rootfstype=ext3 root=/dev/mmcblk0p2 rootdelay=5 ${mtdparts} ro\; mmcinit\; fatload mmc 1 0x32000000 ${sd_image_name}\; bootm 0x32000000
  • Then save the environment by doing:
saveenv

This should make the Neo boot from an ext3 partition on the SD card. The kernel can't boot from an ext2 partition currently even though it was the default setting for the bootloader.

Getting Qtopia and extracting the jffs2 image

Actually booting Qtopia on the phone

Insert the SD card into the phone, boot to NAND u-boot (again, not to NOR), choose Boot from microSD (FAT+ext3) and the phone should start booting Qtopia.