tag:blogger.com,1999:blog-3046109770954577257.post3984821331584897178..comments2024-01-30T23:07:34.900-08:00Comments on Embedded Projects: TFTP and NFS Debian on Beaglebone BlackAnonymoushttp://www.blogger.com/profile/03414974093909807958noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-3046109770954577257.post-19555422073000961172020-04-28T06:57:44.291-07:002020-04-28T06:57:44.291-07:00I know this is old but still very useful. Simple ...I know this is old but still very useful. Simple changes will make it work with Debian 9.x. To copy files you need the following in /tftpboot from the sd card. /rootfs/boot/vmlinuz-[build number], /rootfs/boot/initrd.img-[build number], and the directory /rootfs/boot/dtbs. Then copy the entire rootfs directory to the bbb_nfs_root directory using sudo cp -a. For the uEnv.txt file on the BBB you only need the following: <br />client_ip=172.16.0.72<br />server_ip=172.16.100.50<br />#gw_ip=172.16.0.1<br />netmask=255.255.0.0<br />hostname=BBB<br />device=eth0<br />autoconf=off<br />root_dir=/home/[username]/programmer/bbb_nfs_root/rootfs<br />nfs_options=,vers=3<br />jfsrootfstype=ext4 rootwait fixrtc<br />nfsroot=${server_ip}:${root_dir}${nfs_options}<br />uname_r=4.14.108-ti-r113<br />#uuid=<br />dtb=am335x-boneblack-uboot-univ.dtb<br />TheJoehttps://www.blogger.com/profile/01067599720718537097noreply@blogger.comtag:blogger.com,1999:blog-3046109770954577257.post-85630280283288793172014-07-28T15:48:40.550-07:002014-07-28T15:48:40.550-07:00Sadly this does not appear to work with the latest...Sadly this does not appear to work with the latest debian build.<br />I thought It was due to changes in the adresses used in the latest uEnv.txt which now reads;<br />loadaddr=0x82000000<br />initrd_addr=0x88080000<br />fdtaddr=0x88000000<br />But making these changes did not help.<br />The SD card boot hangs with 4 leds on and the mmc boot boots into the mmc, ignoring both the SD card and the NFS instructions. I've checked the NFS server by mounting it from a working SD boot as follows (with your parameters substituted)<br />sudo mount 192.168.10.10:/home/programmer/bbb_nfs_root /mnt/nfs<br />ls /mnt/nfs<br />bin boot dev etc home lib lost+found media mnt opt ...<br />Any ideas where I have gone wrong?<br />Thanks<br />Anonymoushttps://www.blogger.com/profile/13001441458727022895noreply@blogger.com