This post was last edited by Beifang on 2022-6-24 11:17
1. The new version of SDK provides a full set of tools for starting uboot, Linux kenal, and rootfs, and provides the official sd image file wic of beaglebone. However, how to use the new system seems to have changed a lot from version 04. According to the transplantation introduction, the boot is no longer from the sd card, but completely from the onboard memory, so the trial process is relatively long. In fact, as long as the device tree is configured, this work is not complicated. At the same time, the implementation of rootfs uses ti's agora project, or you can use ycoto directly.
2. First, re-make the boot disk. The result of the mkroot command this time is completely different. Only two mount points are generated, boot and rootfs
3. Then start the setup.sh command. First, you need to install the following components: xinetd tftpd nfs-kernel-server minicom build-essential libncurses5-dev autoconf automake dos2unix screen lrzsz lzop flex libssl-dev u-boot-tools. Execute
sudo apt install xinetd tftpd nfs-kernel-server minicom build-essential libncurses5-dev autoconf automake dos2unix screen lrzsz lzop flex libssl-dev u-boot-tools
Then start setup.sh
After completing the basic installation, you can automatically enter the configuration and installation process, where you need to select the serial port, network port, read the serial port number, etc.
Search for the serial port number.
2. This process did not continue during the identification of the board. You still need to be more familiar with the new version of the SDK before further debugging. If you continue, you need to compile the current board device tree into the new uboot and Linux kernel, then download the arogo project, gradually customize the rootfs and file system, and cut them down to avoid an overly large system. Load the last generated rootfs into the startup file, and you can use setup.sh to complete the complete file and development environment configuration. The latest development environment has two modes, one is to download it completely to the SD card for native development, and the other is to connect with a network cable, build a tftp server, and remotely build a cross-compilation environment for development. This process is a relatively time-consuming job.