I think I understand what is happening.

1. microSD-flasher copies files and generates fstab on microSD
2. Then auto started eMMC-flasher copies files and generates its own fstab  

So I need to change /opt/scripts/tools/beaglebone-black-eMMC-flasher.sh
And then run 
https://raw.github.com/RobertCNelson/tools/master/scripts/beaglebone-black-make-microSD-flasher-from-eMMC.sh


On Friday, January 31, 2014 2:01:32 AM UTC, RobertCNelson wrote:
>
> On Thu, Jan 30, 2014 at 7:22 PM, Boris Rybalkin 
> <[email protected]<javascript:>> 
> wrote: 
> > Hi, 
> > 
> > I am trying to create custom flasher image using 
> > 
> https://raw.github.com/RobertCNelson/tools/master/scripts/beaglebone-black-make-microSD-flasher-from-eMMC.sh
>  
> > It works fine and flasher is doing its job, but when I try to modify 
> this 
> > script to add fstab entry resulting flasher unable to finish flashing 
> with 
> > all leds going on and off constantly. 
> > 
> > I am adding simple "/dev/sda1 /data ext4 defaults 0 0" 
> > 
> > my modify script: 
> > wget 
> > 
> https://raw.github.com/RobertCNelson/tools/master/scripts/beaglebone-black-make-microSD-flasher-from-eMMC.sh
>  
> > sed 
> >  -i '/debugfs.*fstab/a \\techo "/dev/sda1 /data ext4 defaults 0 0" 
> >>> /tmp/rootfs/etc/fstab' 
> > beaglebone-black-make-microSD-flasher-from-eMMC.sh 
> > chmod +x beaglebone-black-make-microSD-flasher-from-eMMC.sh 
> > ./beaglebone-black-make-microSD-flasher-from-eMMC.sh 
> > 
> > If I insert this line into /etc/fstab on a flashed device mounting works 
> > fine, but I would like it to come from flasher. 
> > 
> > Is this the right way to modify fstab for flasher? 
>
> Well, that change shouldn't cause the condition you see. Your change 
> is perfectly fine.  I'd say it's more random bad luck, maybe an 
> external cape plugged in on the eMMC pins? 
>
> Regards, 
>
> -- 
> Robert Nelson 
> http://www.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].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to