IGN-ARM Pasang ke MicroSD: Perbedaan revisi

Dari IGNwiki
Langsung ke: navigasi, cari

Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /var/www/html/igos-nusantara-web/wiki/includes/diff/DairikiDiff.php on line 438
Baris 13: Baris 13:
  
 
====Dukungan Hardware ARM====
 
====Dukungan Hardware ARM====
* [http://igos-nusantara.od.id/wiki/Hardware_Status Dukungan Hardware]
+
* [http://igos-nusantara.od.id/wiki/IGN-ARM Hardware_Status Dukungan Hardware]
  
 
=Download the Disk Image & Copy to Media=
 
=Download the Disk Image & Copy to Media=
Baris 28: Baris 28:
  
 
== Scripted ==
 
== Scripted ==
{{admon/note|Note | The examples provided here are from a IGN 19/20 host and may need to be adjusted depending on your host environment.}}
+
{{admon/note|Note | Contoh berikut memasukkan Image ke Media dengan memakai IGOS Nusantara Desktop versi 10.}}
  
 
Execute the following script as a user with sudo privileges. It will copy the
 
Execute the following script as a user with sudo privileges. It will copy the
Baris 36: Baris 36:
 
To add a board not listed, simply create a bash scriptlet with the commands
 
To add a board not listed, simply create a bash scriptlet with the commands
 
needed to copy U-Boot to media and add to the 'boards.d' directory.
 
needed to copy U-Boot to media and add to the 'boards.d' directory.
* https://pwhalen.IGNpeople.org/IGN-arm-installer-0.06.tar.bz2
+
 
 +
* https://pwhalen.fedorapeople.org/fedira-arm-installer-0.06.tar.bz2
 
<pre>
 
<pre>
./IGN-arm-image-installer.sh
+
./fedora-arm-image-installer.sh
  
Usage: IGN-arm-image-installer.sh <options>
+
Usage: fedora-arm-image-installer.sh <options>
  
 
   --image=IMAGE    - xz compressed image file name
 
   --image=IMAGE    - xz compressed image file name
Baris 51: Baris 52:
 
   --version     - Display version and exit
 
   --version     - Display version and exit
  
Example: IGN-arm-image-installer.sh --image=IGN-Rawhide.xz --target=panda --media=/dev/mmcblk0 --selinux=OFF
+
Contoh: fedora-arm-image-installer.sh --image=IGN-ARM-xx.xz --target=panda --media=/dev/mmcblk0 --selinux=OFF
 
</pre>
 
</pre>
  
Baris 73: Baris 74:
 
Copy the appropriate U-Boot files for your target hardware listed below.
 
Copy the appropriate U-Boot files for your target hardware listed below.
  
=Write U-Boot to Media=
+
=Tulis U-Boot ke Media=
 
Follow theses steps to write the appropriate U-Boot for your Hardware.
 
Follow theses steps to write the appropriate U-Boot for your Hardware.
===For the Banana Pi (Allwinner A20)===
+
===Banana Pi (Allwinner A20)===
 
{{admon/warning|IMPORTANT | At this time you must have a serial console cable for the Banana Pi. For those that do not, please see the FAQ at the bottom of the page}}
 
{{admon/warning|IMPORTANT | At this time you must have a serial console cable for the Banana Pi. For those that do not, please see the FAQ at the bottom of the page}}
 
  MEDIA= #/dev/<location-of-your-media>
 
  MEDIA= #/dev/<location-of-your-media>
Baris 84: Baris 85:
 
===WARNING for Cubie* users===
 
===WARNING for Cubie* users===
 
Be sure you are using the correct uboot image for your specific board!  An incorrect uboot can cause unpredictable and confusing errors.
 
Be sure you are using the correct uboot image for your specific board!  An incorrect uboot can cause unpredictable and confusing errors.
===For the CubieBoard v1 (Allwinner A10)===
+
===CubieBoard v1 (Allwinner A10)===
 
  MEDIA= #/dev/<location-of-your-media>
 
  MEDIA= #/dev/<location-of-your-media>
 
         # for example /dev/sdc, /dev/sdg, ...
 
         # for example /dev/sdc, /dev/sdg, ...
Baris 91: Baris 92:
 
Media should now be ready to boot on the Cubieboard. Insert into the device and boot.
 
Media should now be ready to boot on the Cubieboard. Insert into the device and boot.
  
===For the CubieBoard v2 (Allwinner A20)===
+
===CubieBoard v2 (Allwinner A20)===
 
  MEDIA= #/dev/<location-of-your-media>
 
  MEDIA= #/dev/<location-of-your-media>
 
         # for example /dev/sdc, /dev/sdg, ...
 
         # for example /dev/sdc, /dev/sdg, ...
Baris 98: Baris 99:
 
Media should now be ready to boot on the Cubieboard. Insert into the device and boot.
 
Media should now be ready to boot on the Cubieboard. Insert into the device and boot.
  
===For the CubieTruck (Allwinner A20)===
+
===CubieTruck (Allwinner A20)===
 
  MEDIA= #/dev/<location-of-your-media>
 
  MEDIA= #/dev/<location-of-your-media>
 
         # for example /dev/sdc, /dev/sdg, ...
 
         # for example /dev/sdc, /dev/sdg, ...
Baris 105: Baris 106:
 
Media should now be ready to boot on the Cubietruck. Insert into the device and boot.
 
Media should now be ready to boot on the Cubietruck. Insert into the device and boot.
  
===For the BeagleBone ( Black & White ) ===
+
===BeagleBone ( Black & White ) ===
 
{{admon/warning|IMPORTANT | At this time you must have a serial console cable for the BeagleBone. For those that do not, please see the FAQ at the bottom of the page}}
 
{{admon/warning|IMPORTANT | At this time you must have a serial console cable for the BeagleBone. For those that do not, please see the FAQ at the bottom of the page}}
 
  MEDIA= #/dev/<location-of-your-media>
 
  MEDIA= #/dev/<location-of-your-media>
Baris 130: Baris 131:
 
Once completed you will no longer need to press the "User Boot" button to select the IGN U-Boot.
 
Once completed you will no longer need to press the "User Boot" button to select the IGN U-Boot.
  
===For the CompuLab TrimSlice===
+
===CompuLab TrimSlice===
 
{{admon/warning|IMPORTANT | You must use the latest Device Tree enabled U-Boot to boot the IGOS Nusantara Trimslice image, which you can find [http://www.trimslice.com/wiki/index.php/Trim-Slice_Firmware_Updater#v2012.04-1.02 here]. And environmental variables described [http://www.trimslice.com/wiki/index.php/Trim-Slice_Firmware_Updater#U-Boot_environment_variable here]. <b>Failure to do so will result in a non-booting system.</b>}}
 
{{admon/warning|IMPORTANT | You must use the latest Device Tree enabled U-Boot to boot the IGOS Nusantara Trimslice image, which you can find [http://www.trimslice.com/wiki/index.php/Trim-Slice_Firmware_Updater#v2012.04-1.02 here]. And environmental variables described [http://www.trimslice.com/wiki/index.php/Trim-Slice_Firmware_Updater#U-Boot_environment_variable here]. <b>Failure to do so will result in a non-booting system.</b>}}
 
The Trimslice requires no additional steps, U-Boot is included on the device.
 
The Trimslice requires no additional steps, U-Boot is included on the device.
  
=== For the Wandboard (Freescale i.MX6) ===
+
===Wandboard (Freescale i.MX6) ===
 
Note - The Wandboard includes a Solo, Dual, and Quad core configuration.  Determine your hardware configuration and use the appropriate value. While the Wandboard Quad has been tes
 
Note - The Wandboard includes a Solo, Dual, and Quad core configuration.  Determine your hardware configuration and use the appropriate value. While the Wandboard Quad has been tes
 
ted and confirmed working, the Solo and Dual core models should also work as well. The Wandboard Solo uses the same dtb as the Dual(imx6dl-wandboard.dtb).
 
ted and confirmed working, the Solo and Dual core models should also work as well. The Wandboard Solo uses the same dtb as the Dual(imx6dl-wandboard.dtb).
Baris 146: Baris 147:
 
{{admon/warning|IMPORTANT |<b>MicroSD for booting is located under the heatsink</b>}}
 
{{admon/warning|IMPORTANT |<b>MicroSD for booting is located under the heatsink</b>}}
  
=== For the Pandaboard ===
+
===Pandaboard===
 
  MEDIA= #/dev/<location-of-your-media>
 
  MEDIA= #/dev/<location-of-your-media>
 
         # for example /dev/sdc, /dev/sdg, ...
 
         # for example /dev/sdc, /dev/sdg, ...

Revisi per 1 April 2015 08.53

Templat:Autolang

IGOS Nusantara ARM

IGOS Nusantara ARM versi mini hanya menyediakan aplikasi minimal. Untuk versi desktop akan disediakan IGN ARM MATE. Tiap image IGN ARM dapat digunakan dengan memakai QEMU di IGOS Nusantara 64 bit untuk emulasi lingkungan ARM.

Instalasi image akan melibatkan:

  • Unduh Image IGN ARM
  • Memasukkan media removable (USB Flashdisk atau MicroSD) ke komputer host (misal dengan platform ARM atau PC x86_64, laptop, dsb.)
  • Menulis instruksi untuk menulis image ke media. Media ini dipakai untuk boot ke lingkungan IGOS Nusantara.

Dukungan Hardware ARM

Download the Disk Image & Copy to Media

The image-based installation process involves downloading an image file (depending upon desktop/non-desktop option desired), inserting removable media into a "host" system (e.g. an ARM or x86_64 PC class desktop, laptop, etc.) and performing a few simple commands to write this image onto the media. This media is then used by the ARM "target" system to boot the IGOS Nusantara environment.

After writing the image and correct U-boot file(s), insert the media into the target platform and boot.

  • Unduh:

http://igos-nusantara.or.id/arm/images/

Scripted

Templat:Admon/note

Execute the following script as a user with sudo privileges. It will copy the selected disk image and write the appropriate U-Boot for the target hardware platform. Optionally you can also enable and disable SE Linux and remove the root password requirement (allowing log in without completing initial setup). To add a board not listed, simply create a bash scriptlet with the commands needed to copy U-Boot to media and add to the 'boards.d' directory.

./fedora-arm-image-installer.sh

Usage: fedora-arm-image-installer.sh <options>

   --image=IMAGE    - xz compressed image file name
   --target=TARGET  - target board
		      [Bananapi|beaglebone|Cubietruck|none|panda|trimslice|wandboard_dual|wandboard_quad|wandboard_solo]
   --media=DEVICE   - media device file (/dev/[sdX|mmcblkX])
   --selinux=ON/OFF - Turn SELinux off/on as needed
   --norootpass     - Remove the root password
    -y		    - Assumes yes, will not wait for confirmation
   --version	    - Display version and exit

Contoh: fedora-arm-image-installer.sh --image=IGN-ARM-xx.xz --target=panda --media=/dev/mmcblk0 --selinux=OFF

Note, this is not the Templat:Package package.

Manual

Choose a disk image.

http://download.IGNproject.org/pub/IGN/linux/releases/21/Images/armhfp/

Write the image to your media

TYPE=  # options include KDE, LXDE, XFCE, SoaS, Mate and Minimal
MEDIA= #/dev/<location-of-your-media>
       # for example /dev/sdc, /dev/sdg, ...
       # read /var/log/messages to learn which device was assigned to your media
xzcat IGN-$TYPE-armhfp-21-5-sda.raw.xz | sudo dd of=$MEDIA; sync

After writing the image, read the new partition table and mount the root partition

partprobe $MEDIA
PART=  #/dev/<location-of-your-media><partition-number>
       # this needs to be the root partition on the written media
       # for example /dev/sdc3, /dev/sdg3, /dev/mmcblk0p3, ...
mkdir /tmp/root; sudo mount $PART /tmp/root

Copy the appropriate U-Boot files for your target hardware listed below.

Tulis U-Boot ke Media

Follow theses steps to write the appropriate U-Boot for your Hardware.

Banana Pi (Allwinner A20)

Templat:Admon/warning

MEDIA= #/dev/<location-of-your-media>
       # for example /dev/sdc, /dev/sdg, ...
       # read /var/log/messages to learn which device was assigned to your media
sudo dd if=/tmp/root/usr/share/uboot/Bananapi/u-boot-sunxi-with-spl.bin of=$MEDIA bs=1024 seek=8 conv=fsync,notrunc

Media should now be ready to boot on the Banana Pi. Insert into the device and boot.

WARNING for Cubie* users

Be sure you are using the correct uboot image for your specific board! An incorrect uboot can cause unpredictable and confusing errors.

CubieBoard v1 (Allwinner A10)

MEDIA= #/dev/<location-of-your-media>
       # for example /dev/sdc, /dev/sdg, ...
       # read /var/log/messages to learn which device was assigned to your media
sudo dd if=/tmp/root/usr/share/uboot/Cubieboard/u-boot-sunxi-with-spl.bin of=$MEDIA bs=1024 seek=8 conv=fsync,notrunc

Media should now be ready to boot on the Cubieboard. Insert into the device and boot.

CubieBoard v2 (Allwinner A20)

MEDIA= #/dev/<location-of-your-media>
       # for example /dev/sdc, /dev/sdg, ...
       # read /var/log/messages to learn which device was assigned to your media
sudo dd if=/tmp/root/usr/share/uboot/Cubieboard2/u-boot-sunxi-with-spl.bin of=$MEDIA bs=1024 seek=8 conv=fsync,notrunc

Media should now be ready to boot on the Cubieboard. Insert into the device and boot.

CubieTruck (Allwinner A20)

MEDIA= #/dev/<location-of-your-media>
       # for example /dev/sdc, /dev/sdg, ...
       # read /var/log/messages to learn which device was assigned to your media
sudo dd if=/tmp/root/usr/share/uboot/Cubietruck/u-boot-sunxi-with-spl.bin of=$MEDIA bs=1024 seek=8 conv=fsync,notrunc

Media should now be ready to boot on the Cubietruck. Insert into the device and boot.

BeagleBone ( Black & White )

Templat:Admon/warning

MEDIA= #/dev/<location-of-your-media>
       # for example /dev/sdc, /dev/sdg, ...
       # read /var/log/messages to learn which device was assigned to your media
sudo dd if=/tmp/root/usr/share/uboot/beaglebone/MLO of=$MEDIA count=1 seek=1 conv=notrunc bs=128k
sudo dd if=/tmp/root/usr/share/uboot/beaglebone/u-boot.img of=$MEDIA count=2 seek=1 conv=notrunc bs=384k

Media should now be ready to boot on the BeagleBone. Insert into the device and boot. To boot the IGOS Nusantara version of U-Boot on MicroSD you will need to hold the "User Boot" button (located near the MicroSD slot) when the device is powered on.

Copying IGN U-Boot to eMMC on the Beaglebone Black

To Copy the IGN U-Boot to the eMMC on the Beaglebone Black execute the following steps:

# mount emmc boot partition 
mkdir /tmp/emmc; mount /dev/mmcblk1p1 /tmp/emmc

# optionally back up original U-Boot
mkdir /tmp/emmc/orig-uboot; cp /tmp/emmc/{MLO,u-boot.img} /tmp/emmc/orig-uboot/

# copy IGN U-Boot
cp /usr/share/uboot/beaglebone/{MLO,u-boot.img} /tmp/emmc/

Once completed you will no longer need to press the "User Boot" button to select the IGN U-Boot.

CompuLab TrimSlice

Templat:Admon/warning The Trimslice requires no additional steps, U-Boot is included on the device.

Wandboard (Freescale i.MX6)

Note - The Wandboard includes a Solo, Dual, and Quad core configuration. Determine your hardware configuration and use the appropriate value. While the Wandboard Quad has been tes ted and confirmed working, the Solo and Dual core models should also work as well. The Wandboard Solo uses the same dtb as the Dual(imx6dl-wandboard.dtb). Copy the U-boot for the Wandboard hardware in use:

BOARD= # Choose 'solo', 'dl' or 'quad'
MEDIA= #/dev/<location-of-your-media>
       # for example /dev/sdc, /dev/sdg, ...
       # read /var/log/messages to learn which device was assigned to your media
sudo dd if=/tmp/root/usr/share/uboot/wandboard_$BOARD/u-boot.imx of=$MEDIA bs=1k seek=1 conv=fsync; sync

Remove the media and insert into the Wandboard and boot. Templat:Admon/warning

Pandaboard

MEDIA= #/dev/<location-of-your-media>
       # for example /dev/sdc, /dev/sdg, ...
       # read /var/log/messages to learn which device was assigned to your media
sudo dd if=/tmp/root/usr/share/uboot/panda/MLO of=$MEDIA count=1 seek=1 conv=notrunc bs=128k
sudo dd if=/tmp/root/usr/share/uboot/panda/u-boot.img of=$MEDIA count=2 seek=1 conv=notrunc bs=384k

Media should now be ready to boot on the Pandaboard. Insert into the device and boot.