Changes between Version 45 and Version 46 of Devices/GTA04/InstallGuide


Ignore:
Timestamp:
Oct 28, 2012, 11:11:34 AM (7 years ago)
Author:
slyon
Comment:

update to the new uboot system (nov. 2012)

Legend:

Unmodified
Added
Removed
Modified
  • Devices/GTA04/InstallGuide

    v45 v46  
    66  * [http://build.shr-project.org/shr-core/images/om-gta04/shr-image-om-gta04.tar.gz shr-image-om-gta04.tar.gz] (latest stable image)
    77  * [http://build.shr-project.org/shr-core-staging/latest/images/om-gta04/shr-image-om-gta04.tar.gz shr-image-om-gta04.tar.gz] (latest staging image, for [wiki:"StagingTests" testers] only)
    8  * gta04-init system:
    9   * [http://sourceforge.net/projects/qtmoko/files/GTA04/qtmoko-fat-v45.tar.gz/download gta04-init]
    10 
    11 == Preparing the microSD card ==
    12 Your microSD card needs to have 2 partitions. One for the bootloader and one for the rootfs and the kernel:
    13  * 1st partition: FAT32, "boot"
    14  * 2nd partition: ext3, "rootfs"
    15 
    16 Furthermore, it needs to be formatted with: '''255 heads, 63 sectors/track'''.[[BR]]To get this right, you can easily use this script: [attachment:omap3-mkcard.sh omap3-mkcard.sh]
    17 {{{
    18 sudo ./omap3-mkcard.sh /dev/mmcblk0
    19 }}}
    20 
    21 == Installing the gta04-init system ==
    22 [[Image(gta04-init.png, right, 200px, margin-left=20)]]
    23 To install gta04-init, you have to untar the gta04-init archive (qtmoko-fat-v44.tar.vz) and copy all containing files to the "boot"-partition.
    24 
    25 It is '''important''' to copy the 1st stage bootloader (MLO) to the microSD card as the '''very first file'''.
    26 {{{
    27 mkdir gta04-init
    28 tar xzvpf qtmoko-fat-v44.tar.gz -C ./gta04-init
    29 cd gta04-init/
    30 cp MLO /media/boot/MLO
    31 cp -r bootargs.scr boot.scr gta04-init menu.rgb16z splash.rgb16z u-boot.bin uImage user.scr x-load.flash /media/boot/
    32 }}}
    33 {{{
    34 #!html
    35 <div style="clear:both;"> </div>
    36 }}}
     8
     9== Preparing the U-Boot enviroment ==
     10The new U-Boot system (as of November 2012) provides a graphical multi-boot solution.
     11If your device is shipped after November 2012 you'll probably already have this system pre-installed.
     12
     13Otherwise you'll have to get the latest hw-validation image from [http://download.goldelico.com/gta04] and put it on a specially formated microSD card (using the makesd script). Then boot this special hw-validation microSD card having the AUX button pressed, to flash the new boot system (the screen will trun red while falshing).
     14
     15== Preparing the SHR microSD card ==
     16Your microSD card can have several partitions, e.g.:
     17 * 1st partition: ext3, "rootfs" (e.g. for SHR)
     18 * 2nd partition: ext3, "system" (e.g. for Debian)
     19 * 3rd partition: FAT32, "data" (e.g. for music, documents, ...)
    3720
    3821== Installing SHR ==
     
    4225}}}
    4326
     27'''TODO:''' describe /boot/bootargs.scr possibilities.
     28
    4429== First boot ==
    4530[[Image(shr-wizard.png, right, 200px, margin-left=20)]]
    46 After you cleanly unmounted the 2 partitions and put the microSD card back into the GTA04 you can boot SHR.
    47 
    48 You will be greeted by the gta04-init bootloader, where you have to select to boot from microSD. There is no feedback after a click, you just have to wait until SHR is booted.
     31After you cleanly unmounted the partitions and put the microSD card back into the GTA04 you can boot your device, having the AUX button pressed.
     32You'll be greeted by the graphical U-Boot multiboot selection. Select the partition to boot from (e.g. SD:1 for SHR).
    4933
    5034Next, a first start wizard will pop up, which let's you choose between some options.[[BR]]
     
    11498reset
    11599}}}
    116 == With the new gta04 init ==
     100== With the new gta04 init (outdated as of November 2012) ==
    117101Here's gta04-init/1.sh:
    118102{{{