The USB stick is formatted FAT32. From my reading I understand that FAT32 does not respond to chmod or chown. But that still leaves the question of how to setup angstrom to accept desired permissions.
I did find out that forking another shell with the script as its argument (bash setup_sdcard.sh options) allowed it to run. I used this command and the script appeared to run. bash setup_sdcard.sh \ --spl /path/to/tools/MLO-am335x_evm-v2013.07-r0 \ --bootloader /path/to/tools/u-boot-am335x_evm-v2013.07-r0.img \ --mmc /dev/sdX --uboot bone_dtb However, there were several errors that kept it from running to completion. It still tried to contact RobertCNelson's github account for drivers and maybe something else. There were also errors in processing some tar file. I may run it again and see if I can save the entire output so that I can figure out exactly what is causing the errors. But I think that I am just going to have to buy a 25' cat5 cable to hook the BBB up to my router. When I tried hooking up the wireless all the things indicated that I needed net access to download certain pieces. So it became a battle of the chicken or the egg. Alan On Oct 24, 2013, at 5:54 AM, [email protected] wrote: > From: Charles Steinkuehler <[email protected]> > Subject: Re: [Emc-users] Got my second BBB booted, sort of > Date: October 23, 2013 2:35:32 PM PDT > To: "Enhanced Machine Controller (EMC)" <[email protected]> > Reply-To: "Enhanced Machine Controller \(EMC\)" > <[email protected]> > > > On 10/23/2013 10:43 AM, Condit Alan wrote: >> This is getting weird. Angstrom reports that it cannot find sudo. >> Also the script setup_sdcard.sh is not executable when I try to >> "chmod ugo+x setup_sdcard.sh" nothing changes. Any ideas what is >> going on? (When I shutdown it reports I am logged in as root.) > > There are reasons I dumped Angstrom and switched pretty immediately to > something like Debian. One of the big ones is it "behaves" like a > normal Linux disto. > > I'm really not sure what might be going wrong, and have very limited > experience with Angstrom. This is a good question for the BeagleBoard > Google group if you don't get it running fairly easily. My best guesses > for making forward progress: > > * Run a bash shell. I have no idea what you get by default on Angstrom > > * Review your mount points. Make sure Angstrom isn't doing something > crazy like auto-mounting your USB stick or card reader as the root > filesystem or /usr or something > > * Make sure you are root, although AFAIK there is no other user, which > might explain why you can't sudo > > * If you can't make the setup_sdcard.sh script executable, run bash > instead and point it to the setup_sdcard.sh file as it's command (ie: > bash -c setup_sdcard.sh) > > I actually did go through the process of crafting an SD card image using > a BBB which was running Angstrom and I didn't have issues like you're > seeing. That was a few releases ago, but I don't think so much would > have changed that you can't run a script file. Very strange... > > -- > Charles Steinkuehler > [email protected] ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
