Re: [beagleboard] create sd card to flash eMMC and affect /etc/fstab

2018-03-06 Thread Troy Weber
Thank you!

On Tuesday, March 6, 2018 at 1:46:01 PM UTC-8, RobertCNelson wrote:
>
> On Tue, Mar 6, 2018 at 3:42 PM, Troy Weber  > wrote: 
> > I have a project running on eMMC with a custom entry in the /etc/fstab 
> > (intended to mount a blank SD card on boot). 
> > 
> > So I use the 
> > 
> /opt/scripts/tools/eMMC/beaglebone-black-make-microSD-flasher-from-eMMC.sh 
> > script to create an sd flasher. Then I turn around and flash the eMMC 
> with 
> > it, ssh login, and find that /etc/fstab no longer has my custom entry in 
> it. 
> > 
> > How can I resolve this? Or do I just have to flash every card and ssh in 
> to 
> > add that custom fstab entry for every eMMC I flash? 
>
> 'today' add your custom entries right after this line: 
>
> echo "debugfs /sys/kernel/debug debugfs defaults 0 0" >> 
> ${tmp_rootfs_dir}/etc/fstab 
>
>
> https://github.com/RobertCNelson/boot-scripts/blob/master/tools/eMMC/functions.sh#L972
>  
>
> 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 beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/58eb0e89-203a-4a6b-b913-e032ce37b2b2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] create sd card to flash eMMC and affect /etc/fstab

2018-03-06 Thread Robert Nelson
On Tue, Mar 6, 2018 at 3:42 PM, Troy Weber  wrote:
> I have a project running on eMMC with a custom entry in the /etc/fstab
> (intended to mount a blank SD card on boot).
>
> So I use the
> /opt/scripts/tools/eMMC/beaglebone-black-make-microSD-flasher-from-eMMC.sh
> script to create an sd flasher. Then I turn around and flash the eMMC with
> it, ssh login, and find that /etc/fstab no longer has my custom entry in it.
>
> How can I resolve this? Or do I just have to flash every card and ssh in to
> add that custom fstab entry for every eMMC I flash?

'today' add your custom entries right after this line:

echo "debugfs /sys/kernel/debug debugfs defaults 0 0" >>
${tmp_rootfs_dir}/etc/fstab

https://github.com/RobertCNelson/boot-scripts/blob/master/tools/eMMC/functions.sh#L972

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 beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOCHtYgf2HjDzmqTYNFJ_N-bu472bRsaApb%2B88JDgy5%2BwJW%3D9Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] create sd card to flash eMMC and affect /etc/fstab

2018-03-06 Thread Troy Weber
I have a project running on eMMC with a custom entry in the /etc/fstab 
(intended to mount a blank SD card on boot).

So I use the 
*/opt/scripts/tools/eMMC/beaglebone-black-make-microSD-flasher-from-eMMC.sh 
*script 
to create an sd flasher. Then I turn around and flash the eMMC with it, ssh 
login, and find that /etc/fstab no longer has my custom entry in it.

How can I resolve this? Or do I just have to flash every card and ssh in to 
add that custom fstab entry for every eMMC I flash?

-- 
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 beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/5fc2364a-883a-47dc-9f9e-4a25d0a88c3c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.