[beagleboard] Using /dev/ttyS0 under read-only rootfs

2015-09-20 Thread Mark Fisher
I have successfully created a read-only FS with the latest debian (2015-03-01) 
image and figured out how to get a USB drive mounted as well as the network 
running, however I can't figure out how to use the UARTS, specifically 
/dev/ttyS0. I assume that the fact that the system is read only is the 
problem but I am not sure how I can "mount" the tty as read-write. Does 
anyone have any suggestions? 

For reference my fstab looks like this:

# /etc/fstab: static file system information.
#
UUID=4912b57f-749f-4804-8e26-2dcf1617a5eb  /  ext4 
 ro,noatime,errors=remount-ro  0  1
debugfs  /sys/kernel/debug  debugfs  defaults  0  0
tmpfs /tmp tmpfs nodev,nosuid,size=32M 0 0
tmpfs /srv tmpfs nodev,size=512K 0 0
tmpfs /var/log tmpfs defaults,noatime,size=1M 0 0
tmpfs /var/tmp tmpfs defaults,noatime,size=512K 0 0
tmpfs /var/run tmpfs defaults,noatime,size=512K 0 0
/dev/sda1  /USBDRIVE vfat defaults,user,dmask=000,fmask=111 0 0 #this is 
for the USB thumb drive

Thanks, Mark

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Using /dev/ttyS0 under read-only rootfs

2015-09-20 Thread Nuno Sucena Almeida
On 09/20/2015 08:09 PM, Mark Fisher wrote:
> I assume that the fact that the system is read only is the problem but I
> am not sure how I can "mount" the tty as read-write. Does anyone have
> any suggestions? 

You might want to mount your /dev as a tmpfs? A quick google gave me this:

https://sites.google.com/site/linuxpendrive/rorootfs

cheers,
Nuno
-- 

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Using /dev/ttyS0 under read-only rootfs

2015-09-20 Thread Mark Fisher
I tried that, thanks, but it didn't work. Maybe I didn't have the syntax 
correct. Can anyone suggest the correct syntax? 

After reading many articles I have made the USB drive and networking 
function but I really can't find any information specific to this problem.

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 beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.