Transclusion: CL-SOM-AM57x: Linux: Manual Installation: boot ramdisk

From Compulab Mediawiki
Jump to: navigation, search

Boot into the installation environment (ramdisk)

  • Start terminal emulation software on your PC with the following serial port settings:
Baud Rate Data Bits Stop Bits Parity Flow Control
115200 8 1 none none
  • Insert the installation media into the MMC/SD socket (P9) or USB connector (P6) on the SBC-AM57x.
  • Make sure no other removable media is plugged.
  • Turn on the device. Press a key to prevent a possible autoboot and get into the U-Boot command prompt.
Admolition note.png If the boot settings of your device are different than the default, you may need to press and hold Ctrl-C while turning the device on, in order to get command prompt.
  • Use the following U-Boot commands to boot the installation environment from the installation SD card:
U-Boot# mmc dev 0 && mmc rescan
U-Boot# load mmc 0 0x88000000 ramdisk.dtb && load mmc 0 0x82000000 kernel.img && load mmc 0 0x88080000 ramdisk.img
U-Boot# setenv bootargs "root=/dev/ram0 rw ramdisk_size=16384 console=ttyO2,115200n8 vram=16M"
U-Boot# bootz 0x82000000 0x88080000 0x88000000
  • Use the following U-Boot commands to boot the installation environment from the installation USB storage:
U-Boot # usb start
U-Boot # load usb 0 0x88000000 ramdisk.dtb && load usb 0 0x82000000 kernel.img && load usb 0 0x88080000 ramdisk.img
U-Boot # setenv bootargs "root=/dev/ram0 rw ramdisk_size=16384 console=ttyO2,115200n8 vram=16M"
U-Boot # bootz 0x82000000 0x88080000 0x88000000
Admolition note.png For networked installation

Use the following U-Boot commands to boot the installation environment from a TFTP and NFS servers:

U-Boot# dhcp; setenv serverip <tftp server ip address>
U-Boot# setenv bootargs "root=/dev/ram0 rw ramdisk_size=16384 console=ttyO2,115200n8 vram=16M ip=dhcp"
U-Boot# tftpboot 0x88000000 ramdisk.dtb; tftpboot 0x82000000 kernel.img; U-Boot# tftpboot 0x88080000 ramdisk.img
U-Boot# bootz 0x82000000 0x88080000 0x88000000