Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Format the SD Card with SD Card Formatter or other tool
  2. Write the Debian image or Ubuntu image file on SD Card with Win32DiskImager
  3. select the device tree depending on your ROOTFS location: It will automatically in BOOT directory two DTB file generated
    1. system_sd.dtb : This file ist used , if the root file system is located on SD card.
    2. system_harddisk.dtb : This file ist used , if the root file system is located on hard disk.
    3. Note: To use one of the DTB files, this file must be renamed to system.dtb
  4. Rename the system_sd.dtb file in BOOT directory to system.dtbselected device tree to system.dtb  (for Hard Disk usage, see also "Hard Disk (optional)")
  5. Copy Petalinux  Image (not use image.ub), system.dtb and Boot.bin files on SD-Card.
    • use files from (<project foler>/_binaries_<Articel Name>)/boot_linux from generated binary folder,see: Get prebuilt boot binaries
    • or use prebuilt file location, see <design_name>/prebuilt/readme_file_location.txt
  6. Set Boot Mode to SD-Boot.
    • Depends on Carrier, see carrier TRM.
  7. Insert SD-Card in SD-Slot.

...

  1. Plug in SD Card that you have prepared mit root file systemIt will automatically in BOOT directory two DTB file generated
  2. Plug in Hard Disk in Sata port on the carrier board
  3. Format the hard disk by the following command:
    1. mkfs.ext4 /dev/sda
  4. Edit the fstab file in directory /etc/ to mount hard disk by the following commands:
    1. mkdir /media/harddisk
    2. nano /etc/fstab
    3. Add this line to the fstab file and save it : /dev/sda  /media/harddisk/   defaults  0  3
    4. Reboot
  5. Copy entire root file system in direcroty directory ROOTFS from SD card to hard disk by the following commands:
    1. cd /media/ROOTFS
    2. cp -r ./ /media/harddisk
  6. Edit the fstab file in directory /media/harddisk/etc/ by the following commands and save it:
    1. nano /media/harddisk/etc/fstab
    2. Edit this line to the fstab file : /dev/sda  /media/harddisk/   defaults  0  1
    3. Comment this line: #/dev/mmcblk1p2   /media/ROOTFS     defaults  0  1
  7. Shutdown the system
  8. Format the SD card
  9. Rename the Device Tree Blob file system_harddisk.dtb to system.dtb
  10. Copy the following files to SD Card:
    1. Image
    2. BOOT.bin
    3. system.dtb
  11. Plug in the SD Card and turn on the system

...