![]() When you run pxe cammand,uboot will get some boot files from your tftp server.as follows: => setenv serverip xx.xx.xx.xx //set ip of tftp => setenv ipaddr xx.xx.xx.xx //set rockpi4 ip We must install uboot on spi flash or emmc or microSD,this document is used spi flash,so please see spi-install to install uboot in spi flash Initrd initrd.img-4.4.154-88-rockchip-00030-g90239a6 //choose your ramdiskĪppend earlycon=uart8250,mmio32,0xff1a0000 swiotlb=1 coherent_pool=1m earlyprintk console=ttyFIQ0,1500000n8 rw root=PARTUUID=b921b045-1d rootfstype=ext4 init=/sbin/init rootwait //this is bootargs for kernel So i named my pxe configaration file 01-be-73-e6-4e-04-2b,or you can named it default Net: eth0: key to stop autoboot('CTRL+C'): 0 Named pxe configaration file,run to uboot and print ethaddr: └── vmlinuz-4.4.154-88-rockchip-00030-g90239a6 //this is a kernel image,copy from debian or build by yourself │ ├── 01-be-73-e6-4e-04-2b //named it by env ethaddr of uboot.i will introduce this file ├── pxelinux.cfg //this folder is important,you can make the folder by yourself ├── overlays //.dtbo files,copy from debian ├── dtbs //.dtb file,we need rockpi-4b-linux.dtb,copy from debian Step 3: Restart tftp service tftpd-hpa restartĬopy all files from debian os boot partition,as follows: Step 1: Install TFTP and TFTP server sudo apt-get install tftp-hpa tftpd-hpa This document is used tftp server to test pxe boot to ramdisk,next,we will instruct on installing and configuring the tftp server in ubuntu 16.04LTS,and preparing some boot files. 1.1 Step 1: Install TFTP and TFTP server. ![]()
0 Comments
Leave a Reply. |