Quantcast

Problems connecting to Tobi expansion board using a serial monitor

classic Classic list List threaded Threaded
20 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Problems connecting to Tobi expansion board using a serial monitor

srinath
Hi 

I have a Gumstix overo sandstorm that i have attached to a Tobi expansion board.
Have connected a usb cable to the  'usb-serial port' shown in the video.

I tried connecting with kermit
srinath@ubuntu:~$ kermit -l /dev/ttyUSB0
can't open device

Tried with ttyUSB1/2/3 etc. Nothing works

Haven't powered up the board yet, as mentioned in this site.

What am i missing?


------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Problems connecting to Tobi expansion board using a serial monitor

Scott Ellis
Do you get an LED light on the Tobi board next to the USB console connector?

If you watch log on your workstation do you'll see which serial port to use.

For example on Ubuntu when plugging in the Tobi board console connection

scott@hex:~$ tail -f /var/log/syslog
Jan 14 09:02:38 hex kernel: [11985.448132] usb 4-2: new full-speed USB device number 5 using ohci_hcd
Jan 14 09:02:38 hex mtp-probe: checking bus 4, device 5: "/sys/devices/pci0000:00/0000:00:12.0/usb4/4-2"
Jan 14 09:02:38 hex kernel: [11985.632408] ftdi_sio 4-2:1.0: FTDI USB Serial Device converter detected
Jan 14 09:02:38 hex kernel: [11985.632512] usb 4-2: Detected FT232RL
Jan 14 09:02:38 hex kernel: [11985.632519] usb 4-2: Number of endpoints 2
Jan 14 09:02:38 hex kernel: [11985.632524] usb 4-2: Endpoint 1 MaxPacketSize 64
Jan 14 09:02:38 hex kernel: [11985.632529] usb 4-2: Endpoint 2 MaxPacketSize 64
Jan 14 09:02:38 hex kernel: [11985.632534] usb 4-2: Setting MaxPacketSize 64
Jan 14 09:02:38 hex mtp-probe: bus: 4, device: 5 was not an MTP device
Jan 14 09:02:38 hex kernel: [11985.636475] usb 4-2: FTDI USB Serial Device converter now attached to ttyUSB0

Make sure you belong to the appropriate group to open the device. It's 'dialout' on Ubuntu.

scott@hex:~$ ls -l /dev/ttyUSB0
crw-rw---- 1 root dialout 188, 0 Jan 14 09:02 /dev/ttyUSB0
scott@hex:~$ grep dialout /etc/group
dialout:x:20:scott


For kermit a ~/.mykermrc  file like this might be useful.
Change the set line device as appropriate.

scott@hex:~$ cat ~/.mykermrc
set line /dev/ttyUSB0
set flow-control none
set carrier-watch off
set parity none
set stop-bits 1
set speed 115200
connect

Then you can just type kermit at the prompt.


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Problems connecting to Tobi expansion board using a serial monitor

srinath
Hi I get a LED light on the Tobi expansion board near the USB connector

This is the output of the command
tail -f /var/log/syslog
Jan 14 20:02:02 ubuntu kernel: [178209.569697] usb 2-1.2: device descriptor read/64, error -32
Jan 14 20:02:02 ubuntu kernel: [178209.745010] usb 2-1.2: device descriptor read/64, error -32
Jan 14 20:02:02 ubuntu kernel: [178209.920817] usb 2-1.2: new full speed USB device using ehci_hcd and address 21
Jan 14 20:02:02 ubuntu kernel: [178209.992733] usb 2-1.2: device descriptor read/64, error -32
Jan 14 20:02:02 ubuntu kernel: [178210.169038] usb 2-1.2: device descriptor read/64, error -32
Jan 14 20:02:02 ubuntu kernel: [178210.344330] usb 2-1.2: new full speed USB device using ehci_hcd and address 22
Jan 14 20:02:03 ubuntu kernel: [178210.752024] usb 2-1.2: device not accepting address 22, error -32
Jan 14 20:02:03 ubuntu kernel: [178210.823959] usb 2-1.2: new full speed USB device using ehci_hcd and address 23
Jan 14 20:02:03 ubuntu kernel: [178211.231264] usb 2-1.2: device not accepting address 23, error -32
Jan 14 20:02:03 ubuntu kernel: [178211.231493] hub 2-1:1.0: unable to enumerate USB device on port 2

It appears as though it has problems recognizing Tobi. What should i do?


On Mon, Jan 14, 2013 at 7:41 PM, jumpnowdev <[hidden email]> wrote:
Do you get an LED light on the Tobi board next to the USB console connector?

If you watch log on your workstation do you'll see which serial port to use.

For example on Ubuntu when plugging in the Tobi board console connection

scott@hex:~$ tail -f /var/log/syslog
Jan 14 09:02:38 hex kernel: [11985.448132] usb 4-2: new full-speed USB
device number 5 using ohci_hcd
Jan 14 09:02:38 hex mtp-probe: checking bus 4, device 5:
"/sys/devices/pci0000:00/0000:00:12.0/usb4/4-2"
Jan 14 09:02:38 hex kernel: [11985.632408] ftdi_sio 4-2:1.0: FTDI USB Serial
Device converter detected
Jan 14 09:02:38 hex kernel: [11985.632512] usb 4-2: Detected FT232RL
Jan 14 09:02:38 hex kernel: [11985.632519] usb 4-2: Number of endpoints 2
Jan 14 09:02:38 hex kernel: [11985.632524] usb 4-2: Endpoint 1 MaxPacketSize
64
Jan 14 09:02:38 hex kernel: [11985.632529] usb 4-2: Endpoint 2 MaxPacketSize
64
Jan 14 09:02:38 hex kernel: [11985.632534] usb 4-2: Setting MaxPacketSize 64
Jan 14 09:02:38 hex mtp-probe: bus: 4, device: 5 was not an MTP device
Jan 14 09:02:38 hex kernel: [11985.636475] usb 4-2: FTDI USB Serial Device
converter now attached to ttyUSB0

Make sure you belong to the appropriate group to open the device. It's
'dialout' on Ubuntu.

scott@hex:~$ ls -l /dev/ttyUSB0
crw-rw---- 1 root dialout 188, 0 Jan 14 09:02 /dev/ttyUSB0
scott@hex:~$ grep dialout /etc/group
dialout:x:20:scott


For kermit a ~/.mykermrc  file like this might be useful.
Change the set line device as appropriate.

scott@hex:~$ cat ~/.mykermrc
set line /dev/ttyUSB0
set flow-control none
set carrier-watch off
set parity none
set stop-bits 1
set speed 115200
connect

Then you can just type kermit at the prompt.






--
View this message in context: http://gumstix.8.n6.nabble.com/Problems-connecting-to-Tobi-expansion-board-using-a-serial-monitor-tp4966434p4966441.html
Sent from the Gumstix mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users


------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Problems connecting to Tobi expansion board using a serial monitor

Scott Ellis
I'd attempt to rule out the Tobi first.

1) Try different USB ports on your workstation
2) Try a different USB cable
3) If you are going through a hub, try without the hub
4) Try a different workstation
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Problems connecting to Tobi expansion board using a serial monitor

srinath
I tried a different usb port and it recognized the tobi now. But kermit hangs
srinath@ubuntu:~$ kermit -l /dev/ttyUSB0
Executing /home/srinath/.mykermrc...
Connecting to /dev/ttyUSB0, speed 115200
 Escape character: Ctrl-\ (ASCII 28, FS): enabled
Type the escape character followed by C to get back,
or followed by ? to see other options.
----------------------------------------------------
After i power on the board, it prints a line or two of gibberish and hangs. So what am i missing?

Here are the contents of .mykermrc
set line /dev/ttyUSB0
set flow-control none
set carrier-watch off
set speed 115200
connect





On Mon, Jan 14, 2013 at 8:42 PM, jumpnowdev <[hidden email]> wrote:
I'd attempt to rule out the Tobi first.

1) Try different USB ports on your workstation
2) Try a different USB cable
3) If you are going through a hub, try without the hub
4) Try a different workstation




--
View this message in context: http://gumstix.8.n6.nabble.com/Problems-connecting-to-Tobi-expansion-board-using-a-serial-monitor-tp4966434p4966443.html
Sent from the Gumstix mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users


------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Problems connecting to Tobi expansion board using a serial monitor

Scott Ellis
It could be the Overo isn't finding a boot loader.

Are you using a microSD card or trying to boot from NAND?

If NAND only, then try with a microSD card. The system will try
to use the SD first.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Problems connecting to Tobi expansion board using a serial monitor

srinath
I wasn't using a microSD card.
I found that another guy was having a similar problem.

So i looked at how to create a bootable imcroSD card for overo
Went with the Linaro
Unfortunately the ubuntu on my laptop doesn't recognize an sd-card
lspci | grep Card 
yields nothing. So what do i do?


On Mon, Jan 14, 2013 at 11:51 PM, jumpnowdev <[hidden email]> wrote:
It could be the Overo isn't finding a boot loader.

Are you using a microSD card or trying to boot from NAND?

If NAND only, then try with a microSD card. The system will try
to use the SD first.




--
View this message in context: http://gumstix.8.n6.nabble.com/Problems-connecting-to-Tobi-expansion-board-using-a-serial-monitor-tp4966434p4966446.html
Sent from the Gumstix mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users


------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Problems connecting to Tobi expansion board using a serial monitor

Scott Ellis
Find a machine/microSD card writer combination that lets you create
a bootable SD card is the only suggestion I have.

I probably wouldn't choose Linaro as your first test either.

Gumstix provides some images to get started.

http://cumulus.gumstix.org/images/angstrom/developer/yocto/

I'd suggest the console image.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Problems connecting to Tobi expansion board using a serial monitor

srinath
So i downloaded the console image.
But when i untar it i get a whole bunch of errors (even if i do it as root)

root@ubuntu:/media/0FCF-AB1A# tar -xvjf gumstix-console-image-overo-20120930223122.rootfs.tar.bz2 

Errors such as
tar: ./lib/systemd/system/sockets.target.wants/udev-kernel.socket: Cannot create symlink to `../udev-kernel.socket': Operation not permitted
tar: ./lib/systemd: Cannot change ownership to uid 0, gid 0: Operation not permitted

All i did was untar it in the sd card.
Should the sd card be formatted in a particular way?(This is the card that i bought on the gumstix site)
Pls help





On Tue, Jan 15, 2013 at 2:20 AM, jumpnowdev <[hidden email]> wrote:
Find a machine/microSD card writer combination that lets you create
a bootable SD card is the only suggestion I have.

I probably wouldn't choose Linaro as your first test either.

Gumstix provides some images to get started.

http://cumulus.gumstix.org/images/angstrom/developer/yocto/

I'd suggest the console image.




--
View this message in context: http://gumstix.8.n6.nabble.com/Problems-connecting-to-Tobi-expansion-board-using-a-serial-monitor-tp4966434p4966449.html
Sent from the Gumstix mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users


------------------------------------------------------------------------------
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Problems connecting to Tobi expansion board using a serial monitor

Scott Ellis
You need to prepare the SD card first. That involves partitioning and formatting.

The SD card should have at least two partitions,  a small FAT partition for MLO, u-boot
and uImage (the kernel) and a second larger ext3 partition that holds the root filesystem.

Your card probably has a single FAT partition on it now.

Instructions for partitioning your card and then formatting the filesystems can be found here

http://www.gumstix.org/create-a-bootable-microsd-card.html
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Problems connecting to Tobi expansion board using a serial monitor

srinath
I am using a usb card reader.
Have problems with steps 1 and 2.
1) Unmount any mounted partitions of the attached device
Since i see the card only as a usb media device under /media/0FCF-AB1A

2)Determine card size
root@ubuntu:/home/srinath# fdisk -l /media/0FCF-AB1A/
last_lba(): I don't know how to handle files with mode 40700

Is the usbDevice/card a symbolic link to a mount in /dev? If so how do i determine it?



On Tue, Jan 15, 2013 at 3:47 PM, jumpnowdev <[hidden email]> wrote:
You need to prepare the SD card first. That involves partitioning and
formatting.

The SD card should have at least two partitions,  a small FAT partition for
MLO, u-boot
and uImage (the kernel) and a second larger ext3 partition that holds the
root filesystem.

Your card probably has a single FAT partition on it now.

Instructions for partitioning your card and then formatting the filesystems
can be found here

http://www.gumstix.org/create-a-bootable-microsd-card.html




--
View this message in context: http://gumstix.8.n6.nabble.com/Problems-connecting-to-Tobi-expansion-board-using-a-serial-monitor-tp4966434p4966452.html
Sent from the Gumstix mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users


------------------------------------------------------------------------------
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Problems connecting to Tobi expansion board using a serial monitor

Scott Ellis
The 'mount' command will show you all mounted filesystems. Run it from a terminal.

Look for the filesystem on your card /media/0FCF-AB1A. The /dev/xxx starting that
line is the partition.

Example:
scott@hex:~$ mount
/dev/sda1 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
...
/dev/sdc1 on /media/BOOT type vfat (rw,nosuid,nodev,uid=1000, ...)


Where I'm showing /media/BOOT, you'll see /media/0FCF-AB1A.

/dev/sdc1 is the partition I need to unmount.

scott@hex:~$ sudo umount /dev/sdc1

When I run the fdisk command, I would pass /dev/sdc as the device, without the number.

Your device might show up as some other /dev/sdX or maybe as /dev/mmcblk0

If the partition shows up as /dev/mmcblk0p1, then /dev/mmcblk0 is the device.

You would unmount the filesystem this way

sudo umount /dev/mmblk0p1

and use /dev/mmcblk0 as the device to pass to fdisk commands.




Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Problems connecting to Tobi expansion board using a serial monitor

srinath
Thanks for the tip about figuring out the mount point for a usb sdCard.
I thought, i would first try a sakoman build

Went through all the steps. Finally after about an hour i get this error
100%[======================================>] 449,469,120 97.7K/s   in 1h 55m  

2013-01-15 23:16:27 (63.1 KB/s) - `sakoman-gnome-image.tar.bz2' saved [449469120/449469120]

mount: /dev/sdb1: can't read superblock
Can't mount /dev/sdb1 at /media/sakoman-sd for boot partition creation
SD card creation was not successful

Could there be a problem with the card?
I used a Kingston 8GB card. (Not even used that often-Maybe about 10 times)



On Tue, Jan 15, 2013 at 6:02 PM, jumpnowdev <[hidden email]> wrote:
The 'mount' command will show you all mounted filesystems. Run it from a
terminal.

Look for the filesystem on your card /media/0FCF-AB1A. The /dev/xxx starting
that
line is the partition.

Example:
scott@hex:~$ mount
/dev/sda1 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
...
/dev/sdc1 on /media/BOOT type vfat (rw,nosuid,nodev,uid=1000, ...)


Where I'm showing /media/BOOT, you'll see /media/0FCF-AB1A.

/dev/sdc1 is the partition I need to unmount.

scott@hex:~$ sudo umount /dev/sdc1

When I run the fdisk command, I would pass /dev/sdc as the device, without
the number.

Your device might show up as some other /dev/sdX or maybe as /dev/mmcblk0

If the partition shows up as /dev/mmcblk0p1, then /dev/mmcblk0 is the
device.

You would unmount the filesystem this way

sudo umount /dev/mmblk0p1

and use /dev/mmcblk0 as the device to pass to fdisk commands.








--
View this message in context: http://gumstix.8.n6.nabble.com/Problems-connecting-to-Tobi-expansion-board-using-a-serial-monitor-tp4966434p4966454.html
Sent from the Gumstix mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users


------------------------------------------------------------------------------
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Problems connecting to Tobi expansion board using a serial monitor

Scott Ellis
I suppose it's possible you have a bad card.

Before abandoning the card though, I'd try the manual partitioning and
formatting steps as outlined on the Gumstix site.

And to save time, you may as well use that console image you already
downloaded.

You will need to download MLO, u-boot and uImage from the same
location if you didn't do it the first time.

Those files are all relatively small.


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Problems connecting to Tobi expansion board using a serial monitor

srinath
Forgot to mention, that right at the start, there are another bunch of errors. Have attached the display sent to std out.

ALso after it failed in creating the sdCard the mount command no longer detects the usbSDCard reader pr card
root@ubuntu:/home/srinath# mount
/dev/sda5 on / type ext4 (rw,errors=remount-ro,user_xattr)
proc on /proc type proc (rw,noexec,nosuid,nodev)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /dev type devtmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
none on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/srinath/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=srinath)


So how do i even try again with the same card? I don't even know if it is mounted



On Wed, Jan 16, 2013 at 12:37 AM, jumpnowdev <[hidden email]> wrote:
I suppose it's possible you have a bad card.

Before abandoning the card though, I'd try the manual partitioning and
formatting steps as outlined on the Gumstix site.

And to save time, you may as well use that console image you already
downloaded.

You will need to download MLO, u-boot and uImage from the same
location if you didn't do it the first time.

Those files are all relatively small.






--
View this message in context: http://gumstix.8.n6.nabble.com/Problems-connecting-to-Tobi-expansion-board-using-a-serial-monitor-tp4966434p4966465.html
Sent from the Gumstix mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users


------------------------------------------------------------------------------
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612 
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users

errors.txt (7K) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Problems connecting to Tobi expansion board using a serial monitor

srinath
Ok, so i restarted from scratch. Went to winblows formatted the sd-card in fat32, came back to ubuntu, mounted it and it recognizes stuff.
I decided to do things the old fashioned way without a fancy script doing things behind the scenes.
So i am following

I have just finished creating the partitions on the sdCard succesfully
   Device Boot    Start       End   #sectors  Id  System
/dev/sdb1           128    131071     130944   c  W95 FAT32 (LBA)
/dev/sdb2        131072   3887103    3756032  83  Linux
/dev/sdb3             1       127        127  83  Linux
/dev/sdb4             0         -          0   0  Empty
Warning: partition 1 does not end at a cylinder boundary
Do you want to write this to disk? [ynq] y
Successfully wrote the new partition table

Re-reading the partition table ...
BLKRRPART: Success

If you created or changed a DOS partition, /dev/foo7, say, then use dd(1)
to zero the first 512 bytes:  dd if=/dev/zero of=/dev/foo7 bs=512 count=1
(See fdisk(8).)

Now i want to move onto formatting the partitions, but mkfs.vfat doesn't recognize the partitions??

root@ubuntu:/home/srinath# mkfs.vfat -F 32 /dev/sdb1 -n boot
mkfs.vfat 3.0.7 (24 Dec 2009)
/dev/sdb1: No such file or directory

ls/dev lists sdb not sdb1,sdb2 etc...

What should i do?




On Wed, Jan 16, 2013 at 5:53 AM, Srinath M <[hidden email]> wrote:
Forgot to mention, that right at the start, there are another bunch of errors. Have attached the display sent to std out.

ALso after it failed in creating the sdCard the mount command no longer detects the usbSDCard reader pr card
root@ubuntu:/home/srinath# mount
/dev/sda5 on / type ext4 (rw,errors=remount-ro,user_xattr)
proc on /proc type proc (rw,noexec,nosuid,nodev)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /dev type devtmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
none on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/srinath/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=srinath)


So how do i even try again with the same card? I don't even know if it is mounted



On Wed, Jan 16, 2013 at 12:37 AM, jumpnowdev <[hidden email]> wrote:
I suppose it's possible you have a bad card.

Before abandoning the card though, I'd try the manual partitioning and
formatting steps as outlined on the Gumstix site.

And to save time, you may as well use that console image you already
downloaded.

You will need to download MLO, u-boot and uImage from the same
location if you didn't do it the first time.

Those files are all relatively small.






--
View this message in context: http://gumstix.8.n6.nabble.com/Problems-connecting-to-Tobi-expansion-board-using-a-serial-monitor-tp4966434p4966465.html
Sent from the Gumstix mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users



------------------------------------------------------------------------------
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612 
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Problems connecting to Tobi expansion board using a serial monitor

Scott Ellis
You can grab a script that will just partition an SD card here

ftp://www.pansenti.com/duovero-softfp/mk2parts.sh

Make it executable (sudo chmod +x ./mk2parts.sh)  on your machine
and run it with sudo or as root like this

$ sudo ./mk2parts.sh sdb

After running that, see if the partitions are recognized and able to be
formatted.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Problems connecting to Tobi expansion board using a serial monitor

srinath
Update-
After i restarted my Ubuntu, it recognized the partitions.
So i could then proceed through the rest of the sd card formatting and copying rootfile-system etc.
I used this link that you recommended

The guide talks of u-boot.bin but only u-boot.img is availalbe in the above site. I hope using it doesn't create problems downstream.

Thanks so much

I hope i can finally startup old gumstix tomorrow


On Wed, Jan 16, 2013 at 7:13 PM, jumpnowdev <[hidden email]> wrote:
You can grab a script that will just partition an SD card here

ftp://www.pansenti.com/duovero-softfp/mk2parts.sh

Make it executable (sudo chmod +x ./mk2parts.sh)  on your machine
and run it with sudo or as root like this

$ sudo ./mk2parts.sh sdb

After running that, see if the partitions are recognized and able to be
formatted.




--
View this message in context: http://gumstix.8.n6.nabble.com/Problems-connecting-to-Tobi-expansion-board-using-a-serial-monitor-tp4966434p4966471.html
Sent from the Gumstix mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users


------------------------------------------------------------------------------
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612 
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Problems connecting to Tobi expansion board using a serial monitor

Sertaç Olgunsoylu
In reply to this post by srinath
Are you using external USB hub to connect your board?

I got a similar error when I tried to connect it through external USB hub.


On Mon, Jan 14, 2013 at 9:22 AM, Srinath M <[hidden email]> wrote:
Hi 

I have a Gumstix overo sandstorm that i have attached to a Tobi expansion board.
Have connected a usb cable to the  'usb-serial port' shown in the video.

I tried connecting with kermit
srinath@ubuntu:~$ kermit -l /dev/ttyUSB0
can't open device

Tried with ttyUSB1/2/3 etc. Nothing works

Haven't powered up the board yet, as mentioned in this site.

What am i missing?


------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users



------------------------------------------------------------------------------
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612 
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Problems connecting to Tobi expansion board using a serial monitor

srinath
I was using a USB card reader to access the sd-card.
I connect to the Tobi board using a regular usb-Cable through the usb--serial-port.



On Thu, Jan 17, 2013 at 4:13 AM, Sertac Olgunsoylu <[hidden email]> wrote:
Are you using external USB hub to connect your board?

I got a similar error when I tried to connect it through external USB hub.


On Mon, Jan 14, 2013 at 9:22 AM, Srinath M <[hidden email]> wrote:
Hi 

I have a Gumstix overo sandstorm that i have attached to a Tobi expansion board.
Have connected a usb cable to the  'usb-serial port' shown in the video.

I tried connecting with kermit
srinath@ubuntu:~$ kermit -l /dev/ttyUSB0
can't open device

Tried with ttyUSB1/2/3 etc. Nothing works

Haven't powered up the board yet, as mentioned in this site.

What am i missing?


------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412

_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users



------------------------------------------------------------------------------
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users



------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Loading...