Hi William, Thanks for your reply. I'm trying to flash bbb now. Could I ask what's the difference between flashing an image vs flashing the eMMC? I thought flashing the bbb meant flashing everything.
I do not currently have anything that I want to keep on bbb. What's the difference between booting from an nfs share vs booting normally? Also, what do you suggest I do in the future? I didn't follow the blog guy's advice and had simply added the line, although I did change the file name from nfs-uEnv.txt to uEnv.txt. Should I leave the file name as nfs-uEnv.txt next time? Thanks. On Friday, February 19, 2016 at 7:04:16 PM UTC-5, William Hermans wrote: > > *After that, I changed the name of the file from nfs-uEnv.txt to just >> uEnv.txt and rebooted bbb by typing reboot on the terminal, and now I don't >> think bbb works.* >> > > Ok, I missed this part originally. Yes, you're attempting to boot from an > nfs share, so unless you have an nfs share, setup exactly like how is > implied in the uEnv,txt file. Changing nfs-uEnv.txt to uEnv.txt without > modification will fail. > > On Fri, Feb 19, 2016 at 4:59 PM, William Hermans <[email protected] > <javascript:>> wrote: > >> *Delete any lines that may appear in uEnv.txt and add the following and >>> save. This change will tell the board to apply the SPI0 Device Tree >>> Overlay we created on startup.* >>> >> >> The above is very, very bad advice. The uEnv.txt is a very important file >> for booting the beaglebone black( or any beagle hardware ), and arbitrarily >> deleting lines from, or the whole file is not very smart at all. I would >> suggest in the future to avoid any advice, guide, or whatever from that >> blog site. >> >> So, if you board is now in an unbootable state, you're options are rather >> limited. In either case, you will need an sdcard, with either a standalone, >> or flashing image on it. Then boot from that. With a standalone image, >> you'll have to reinstate the uEnv.txt file back to the original contents >> before you followed that bad advice from that blog site. If you do not know >> how to do this, then perhaps your best option is to reflash the entire eMMC. >> >> If you have data on the eMMC that you need / want to keep. You can back >> that up fairly easily before reflashing . . . >> >> On Fri, Feb 19, 2016 at 4:44 PM, Audrey <[email protected] <javascript:>> >> wrote: >> >>> Hi everyone, >>> >>> I want to enable SPI0 on beaglebone black, and I've been following >>> resources online: >>> >>> >>> http://embedded-basics.blogspot.com/2014/10/enabling-spi0-on-beaglebone-black.html >>> http://elinux.org/BeagleBone_Black_Enable_SPIDEV >>> >>> after changing uEnv.txt and rebooting bbb however, bbb doesn't come back >>> online. All 4 of the usr LEDs are on, and I can no longer connect back to >>> beaglebone. >>> >>> Firstly, a few clarifications, in My Computer > BeagleBone Getting >>> Started, I did not find any uEnv.txt file, but nfs-uEnv.txt. The contents >>> of nfs-uEnv.txt are: >>> >>> ##Rename as: uEnv.txt to boot via nfs >>>> ##https://www.kernel.org/doc/Documentation/filesystems/nfs/nfsroot.txt >>>> ##SERVER: sudo apt-get install tftpd-hpa >>>> ##SERVER: TFTP_DIRECTORY defined in /etc/default/tftpd-hpa >>>> ##SERVER: zImage/*.dtb need to be located here: >>>> ##SERVER: TFTP_DIRECTORY/zImage >>>> ##SERVER: TFTP_DIRECTORY/dtbs/*.dtb >>>> ##client_ip needs to be set for u-boot to try booting via nfs >>>> client_ip=192.168.1.101 >>>> #u-boot defaults: uncomment and override where needed >>>> #server_ip=192.168.1.100 >>>> #gw_ip=192.168.1.1 >>>> #netmask=255.255.255.0 >>>> #hostname= >>>> #device=eth0 >>>> #autoconf=off >>>> #root_dir=/home/userid/targetNFS >>>> #nfs_options=,vers=3 >>>> #nfsrootfstype=ext4 rootwait fixrtc >>>> >>> >>> In the embedded-linux blog, he suggested to delete everything in the >>> file and put in >>> >>> optargs=quiet drm.debug=7 capemgr.enable_partno=BB-SPI0-01 >>>> >>>> >>> I however followed the instructions from elinux, and just copied the the >>> above line. After that, I changed the name of the file from nfs-uEnv.txt to >>> just uEnv.txt and rebooted bbb by typing reboot on the terminal, and now I >>> don't think bbb works. >>> >>> Any ideas on what I'm doing wrong? >>> >>> Thanks. >>> >>> -- >>> For more options, visit http://beagleboard.org/discuss >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "BeagleBoard" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected] <javascript:>. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
