I made some modifications to the setup_sdcard.sh and now it creates the flash drive.
The image file does not exist: > debian@sandybox:~$ sudo rm /var/local/usb_mass_storage.img || true > rm: cannot remove '/var/local/usb_mass_storage.img': No such file or > directory > Btw. I do not want to boot from the FAT partition. How does the usb_mass_storage.img solution work? Am Freitag, 1. September 2017 18:01:09 UTC+2 schrieb RobertCNelson: > > On Fri, Sep 1, 2017 at 10:57 AM, Alexander Rössler > <[email protected] <javascript:>> wrote: > > Okay, retried with the --img-4gb command. > > > >> sudo ./setup_sdcard.sh --dtb beaglebone --enable-fat-partition > >> --enable-cape-universal --enable-uboot-cape-overlays --boot_label > SandyBox > >> --enable-systemd --hostname sandybox --img-4gb test.img > > > > > > Interestingly it still creates a ext4 partition > > > > Journalcmd output > > > >> debian@sandybox:~$ journalctl | grep am335x_evm > >> Sep 01 15:47:24 sandybox sh[641]: generic-board-startup: [startup > >> script=/opt/scripts/boot/am335x_evm.sh] > >> Sep 01 15:47:24 sandybox sh[641]: am335x_evm: > >> usb_image_file=[/var/local/usb_mass_storage.img] > > It's detecting the *.img file, so you'll need to remove that.. > > sudo rm /var/local/usb_mass_storage.img || true > > >> Sep 01 15:47:25 sandybox sh[641]: am335x_evm: uncached cpsw_2_mac: > >> [78:A5:04:CC:90:EF] > >> Sep 01 15:47:25 sandybox sh[641]: am335x_evm: cpsw_0_mac: > >> [78:A5:04:CC:90:EE] > >> Sep 01 15:47:25 sandybox sh[641]: am335x_evm: cpsw_1_mac: > >> [78:A5:04:CC:90:F0] > >> Sep 01 15:47:25 sandybox sh[641]: am335x_evm: cpsw_2_mac: > >> [78:A5:04:CC:90:EF] > >> Sep 01 15:47:25 sandybox sh[641]: am335x_evm: cpsw_3_mac: > >> [78:A5:04:CC:90:F1] > >> Sep 01 15:47:25 sandybox sh[641]: am335x_evm: cpsw_4_mac: > >> [78:A5:04:CC:90:F2] > >> Sep 01 15:47:25 sandybox sh[641]: am335x_evm: cpsw_5_mac: > >> [78:A5:04:CC:90:F3] > >> Sep 01 15:47:26 sandybox sh[641]: am335x_evm: use_libcomposite > >> Sep 01 15:47:26 sandybox sh[641]: am335x_evm: modprobe libcomposite > >> Sep 01 15:47:26 sandybox sh[641]: am335x_evm: Creating g_multi > >> Sep 01 15:47:26 sandybox sh[641]: am335x_evm: g_multi Created > >> Sep 01 15:47:26 sandybox sh[641]: am335x_evm: Starting usb0 network > >> Sep 01 15:47:27 sandybox sh[641]: am335x_evm: Starting usb1 network > >> Sep 01 15:47:28 sandybox sh[641]: am335x_evm: dnsmasq: setting up for > >> usb0/usb1 > >> Sep 01 15:47:31 sandybox sh[641]: am335x_evm: Starting > >> [email protected] > > > > Regards, > > -- > Robert Nelson > https://rcn-ee.com/ > -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/41bac29f-8bee-46ed-b830-65eb35b8b857%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
