System Images
Boot Device | Symlink | File |
---|---|---|
SD Card/eMMC | tq-image-weston-tqma65xx-2gb-mba65xx.wic | tq-image-weston-tqma65xx-2gb-mba65xx.wic-<build_timestamp>.rootfs.wic |
Bootloader Binaries
Boot Device | Symlink | File |
---|---|---|
SD/eMMC | u-boot.img | u-boot-tqma65xx-2gb-mba65xx-2020.01-r0.img |
Linux Kernel Image
Symlink | File |
---|---|
Image | Image–5.4.109-r0-tqma65xx-2gb-mba65xx-<build_timestamp>.bin |
Devicetree Blobs
Symlink | Description |
---|---|
k3-am654-tqma65xx-mba65xx.dtb | Default |
k3-am65-tqma65xx-mba65xx-eth-prg0.dtbo | PRU Ethernet Devicetree overlay |
k3-am65-tqma65xx-mba65xx-eth-prg1.dtbo | PRU Ethernet Devicetree overlay |
k3-am65-tqma65xx-mba65xx-lvds-display.dtbo | LVDS Devicetree overlay |
k3-am65-tqma65xx-mba65xx-dmb-fc21.dtbo | Parallel Display Devicetree overlay |
k3-am65-tqma65xx-mba65xx-dmb-dc44.dtbo | Parallel Display Devicetree overlay |
k3-am65-tqma65xx-mba65xx-audio.dtbo | Audio Devicetree overlay |
Rootfs images
Symlink | File |
---|---|
tq-image-weston-tqma65xx-2gb-mba65xx.ext4 | tq-image-weston-tqma65xx-2gb-mba65xx-<build_timestamp>.rootfs.ext4 |
tq-image-weston-tqma65xx-2gb-mba65xx.tar.gz | tq-image-weston-tqma65xx-2gb-mba65xx-<build_timestamp>.rootfs.tar.gz |
System Images
Boot Device | Symlink | File |
---|---|---|
SD Card/eMMC | tq-image-weston-tqma65xx-4gb-mba65xx.wic | tq-image-weston-tqma65xx-4gb-mba65xx.wic-<build_timestamp>.rootfs.wic |
Bootloader Binaries
Boot Device | Symlink | File |
---|---|---|
SD/eMMC | u-boot.img | u-boot-tqma65xx-4gb-mba65xx-2020.01-r0.img |
Linux Kernel Image
Symlink | File |
---|---|
Image | Image–5.4.109-r0-tqma65xx-4gb-mba65xx-<build_timestamp>.bin |
Devicetree Blobs
Symlink | Description |
---|---|
k3-am654-tqma65xx-mba65xx.dtb | Default |
k3-am65-tqma65xx-mba65xx-eth-prg0.dtbo | PRU Ethernet Devicetree overlay |
k3-am65-tqma65xx-mba65xx-eth-prg1.dtbo | PRU Ethernet Devicetree overlay |
k3-am65-tqma65xx-mba65xx-lvds-display.dtbo | LVDS Devicetree overlay |
k3-am65-tqma65xx-mba65xx-dmb-fc21.dtbo | Parallel Display Devicetree overlay |
k3-am65-tqma65xx-mba65xx-dmb-dc44.dtbo | Parallel Display Devicetree overlay |
k3-am65-tqma65xx-mba65xx-audio.dtbo | Audio Devicetree overlay |
Rootfs images
Symlink | File |
---|---|
tq-image-weston-tqma65xx-4gb-mba65xx.ext4 | tq-image-weston-tqma65xx-4gb-mba65xx-<build_timestamp>.rootfs.ext4 |
tq-image-weston-tqma65xx-4gb-mba65xx.tar.gz | tq-image-weston-tqma65xx-4gb-mba65xx-<build_timestamp>.rootfs.tar.gz |
Sector 1) | Size 2) | Contents | Linux (SD-Card) | Linux (eMMC) | Mountpoint |
---|---|---|---|---|---|
0x000000 … 0x000000 | 0x0001 sector / 512 B | MBR / Partition Table | unpartitioned area | n/a | |
0x000001 … 0x000001 | 0x0001 sectors / 512 B | none | |||
0x000002 … 0x000800 | 0x07FE sectors / 1023 kiB | bootstream (U-Boot) | |||
0x000801 … 0x001000 | 0x0800 sectors / 1 MiB | U-Boot environment | |||
0x001001 … 0x002000 | 0x1000 sectors / 2 MiB | resvd | |||
0x002001 … 0x012000 | 0x10000 sectors / 32 MiB | firmware (Kernel, devicetrees) | mmcblk1p1 | mmcblk0p1 | /boot |
0x012001 … | actual size depends on contents of RootFS | RootFS | mmcblk1p2 | mmcblk0p2 | / |
The Image can be simply written to the SD Card by using the dd shell command in Linux:
$ cd <path to your image> $ sudo dd if=tq-custom-image-tqma65xx-mba65xx-p2-<build Timestamp>.rootfs.wic of=/dev/sdc bs=1M conv=fsync #Assuming the SD card is assigned to /dev/sdc
To identify the SD card in Linux the shell command dmesg can be used:
$ dmesg | tail -n 15
$ dmesg | tail -n 15 #plug in SD Card into the reader $ dmesg | tail -n 15
A good approach to update the firmare components U-Boot,Linux kernel and devicetree in a running system it to load them from a tftp server.
This process requires a running TFTP server, please see the following page how to setup TFTP Server.
After setting up the TFTP server, the binaries to be updated must be copied into the TFTP directory.
1. Setup the Starterkit to boot from eMMC or SD
2. Connect the kit to the network with TFTP server supplying the binaries via ethernet on connector ETH0 (X28)
3. Power up the system and interrupt the boot process in U-Boot
Hit any key to stop autoboot: 0 =>
3. Setup the ethernet interface:
Set network settings using DHCP
4. Set U-Boot variable mmcdev according to the drive you want to write to.
=> setenv mmcdev <device_number>
Device assignment:
mmcdev 0 = eMMC
mmcdev 1 = SD Card
5. Set the file name of the binary to update in U-Boot :
6. Perform Update by running the update command:
=> run update_uboot
=> run update_fdt
=> run update_kernel
1. Run the following command in the Uboot shell to create update script:
setenv install_firmware 'echo MBR... && mmc dev 1 && mmc read $loadaddr 0 1 && mmc dev 0 && mmc write $loadaddr 0 1 && echo U-Boot... && mmc dev 1 && mmc read $loadaddr 2 7FE && mmc dev 0 && mmc write $loadaddr 2 7FE && echo U-Boot environment... && mmc dev 1 && mmc read $loadaddr 801 800 && mmc dev 0 &&mmc write $loadaddr 801 800 && echo reserved... && mmc dev 1 && mmc read $loadaddr 1001 1000 && mmc dev 0 &&mmc write $loadaddr 1001 1000 && echo Firmware Partition... && mmc dev 1 && mmc read $loadaddr 2001 10000 && mmc dev 0 && mmc write $loadaddr 2001 10000 && echo Root FS... && mmc dev 1 && mmc read $loadaddr C001 19F800 && mmc dev 0 && mmc write $loadaddr C001 19F800'
2. Save environment U-boot environment (optional):
=> saveenv
3. run the following command to start the update procedure:
=> run install_firmware
To boot the TQMa65xx from network you need a working bootloader in eMMC/SD-card or SPI-NOR (placement option on TQMa65xx ) which is able to get the kernel image over tftp and to provide the kernel with commandline settings for NFS. The dtb-file and kernel image have to be provided via tftp and the rootfs via nfs.
The bootloader environment needs to be modified to work with your tftp-server and your nfs-server.
1. Prepare network interface:
Set network settings using DHCP
2. set the Uboot variables for TFTP and NFS:
3. Run the uboot script to boot from nfs:
=> run netboot