(getting started with SK-AM69) |
m (Added some formatting and missing link) |
||
Line 14: | Line 14: | ||
* https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Spins/aarch64/images/ | * https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Spins/aarch64/images/ | ||
2. Flash the Fedora image to a SD-card (replace /dev/mmcblkX with your block device): | 2. Flash the Fedora image to a SD-card (replace `/dev/mmcblkX` with your block device): | ||
sudo arm-image-installer --target=none \ | sudo arm-image-installer --target=none \ | ||
Line 25: | Line 25: | ||
4. Build and generate the bootloader binaries required for the TI SK-AM69 board. | 4. Build and generate the bootloader binaries required for the TI SK-AM69 board. | ||
Clone the k3-upstream-boot-build project. This is a build package to help ease build and deploy various K3 Boards. | Clone the [https://github.com/nmenon/k3-upstream-boot-build k3-upstream-boot-build] project. This is a build package to help ease build and deploy various K3 Boards. | ||
git clone https://github.com/nmenon/k3-upstream-boot-build.git | git clone https://github.com/nmenon/k3-upstream-boot-build.git | ||
Line 38: | Line 38: | ||
Note that the above steps assumes a x86_64 Linux system for build. If not, the scripts should be adjusted appropriately. | Note that the above steps assumes a x86_64 Linux system for build. If not, the scripts should be adjusted appropriately. | ||
Binaries will be in the deploy/ directory. | Binaries will be in the `deploy/` directory. | ||
5. Copy the bootloader binaries to the first FAT partition of the storage media. I.e: | 5. Copy the bootloader binaries to the first FAT partition of the storage media. I.e: |
Revision as of 10:20, 3 May 2024
The SK-AM69 Starter Kit is based on the AM69x AI vision processor which includes an image signal processor (ISP), AI accelerator, eight 64-bit Arm®-Cortex® A72 microprocessor, and H.264/H.265 video encode/decode. The SK-AM69x is an ideal choice for machine vision, traffic monitoring, retail automation, and factory automation.
More information about this board can be found at:
Creating a bootable Fedora Minimal Rawhide image
Fedora Rawhide images should be bootable with some additional user interaction.
1. Download the latest Fedora Minimal Rawhide image from the download site. I.e:
2. Flash the Fedora image to a SD-card (replace /dev/mmcblkX
with your block device):
sudo arm-image-installer --target=none \ --image=Fedora-Minimal-Rawhide-$(date '+%Y%m%d').n.0.aarch64.raw.xz \ --media=/dev/mmcblkX --resizefs --norootpass --showboot \ --args "console=ttyS2,115200n8 selinux=0"
3. Unplug and plug again the SD-card, so the system recognizes the newly created partitions.
4. Build and generate the bootloader binaries required for the TI SK-AM69 board.
Clone the k3-upstream-boot-build project. This is a build package to help ease build and deploy various K3 Boards.
git clone https://github.com/nmenon/k3-upstream-boot-build.git cd k3-upstream-boot-build/ make gitsync
Build all the required components, note that building u-boot binaries depends on some extra binaries like Arm Trusted Firmware and OP-TEE.
make j784s4_am69_sk_hs_fs_all_defconfig make CROSS_COMPILE_64=aarch64-linux-gnu- CROSS_COMPILE_32=arm-linux-gnu- -j
Note that the above steps assumes a x86_64 Linux system for build. If not, the scripts should be adjusted appropriately.
Binaries will be in the deploy/
directory.
5. Copy the bootloader binaries to the first FAT partition of the storage media. I.e:
cp deploy/tiboot3.bin $(lsblk /dev/mmcblkXp1 -n -o MOUNTPOINT) cp deploy/tispl.bin $(lsblk /dev/mmcblkXp1 -n -o MOUNTPOINT) cp deploy/u-boot.img $(lsblk /dev/mmcblkXp1 -n -o MOUNTPOINT)
6. Umount all the partitions, put the SD-card into the slot and turn on the board
Current u-boot supports EFI boot so it should just boot without any interaction. Make sure you have access to the serial port and follow the instructions to finish the image installation.