# barebox **Repository Path**: joshaucp001/barebox ## Basic Information - **Project Name**: barebox - **Description**: git clone https://github.com/zhaojh329/barebox.git - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-01-14 - **Last Updated**: 2024-10-14 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # barebox # 步骤 sudo apt install gcc-arm-none-eabi git clone https://git.oschina.net/zhaojh329/barebox.git cd barebox export ARCH=arm export CROSS_COMPILE=arm-none-eabi- make embedsky_tq210_defconfig make # TFTP文件系统 TFTP并没有实现一个文件系统,不支持列出目录。也就是说对一个使用TFTP挂载的目录执行ls命令将会显示空,然而文件确实在那里。 barebox:/ mount -t tftp 192.168.23.4 /mnt/tftp barebox:/ bootm /mnt/tftp/uImage # NFS网络文件系统 barebox:/ mount -t nfs 192.168.23.4:/nfs /mnt/nfs barebox:/ ls /mnt/nfs # 网络控制台 barebox:/ netconsole.ip=192.168.23.2 barebox:/ netconsole.active=ioe 此处的IP为PC机的IP,active由“input” (i), “output” (o)和“error” (e)三个域组成,如果被设置,相应的通道被激活。 在PC段执行脚本连接开发板 scripts/netconsole 6666