Porting U-Boot 2023.04 and Kernel 6.1.11 to Nanopi NEO Development Board
Environment Description
OS: Ubuntu 20.04.5 LTS GCC: arm-none-linux-gnueabihf-gcc 10.3.0
Compiler download link: Downloads | GNU-A Downloads – Arm Developer[1]
U-Boot Porting
Current latest version v2023.04-rc2 download link: https://github.com/u-boot/u-boot/archive/refs/tags/v2023.04-rc2.tar.gz[2]
Set cross compiler:
export CROSS_COMPILE=arm-none-linux-gnueabihf-
Compile configuration:
make nanopi_neo_defconfig
Compile:
make -j8
Encountered issues: Solution:
sudo apt install python3-pip
pip3 install setuptools
Compilation output: Burning:
sudo dd if=u-boot-sunxi-with-spl.bin of=/dev/sdc bs=1024 seek=8 oflag=direct
Boot test: 2025-01-12
Using code-server in Browser on OpenWrt (NanoPi For NAS All In One R4S)
GitHub address
https://github.com/coder/code-server
Documentation address
https://coder.com/docs/code-server/latest
VS Code in Browser
Run VS Code anywhere on any machine and access it through the browser
Not very accustomed to the visual panel operation of Docker on OpenWrt
Although all necessary variables are present and translated into Chinese, simple images can be pulled and run immediately
However, if you are used to docker-compose.yml, it still feels relatively simpler
2025-01-09