LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices


Reply
  Search this Thread
Old 04-22-2015, 01:30 AM   #1
AbdulWahab
LQ Newbie
 
Registered: Apr 2015
Posts: 28

Rep: Reputation: Disabled
File transfer using USB in Tq2440 Development board


I have a tq2440 development board in which qtopia 1.7.0 installed and I want to download program in it using USB I mount USB and write following command in terminal
" $ cd /udisk " after this it give following error
can't cd to udisk
so please help me
Thanks

--
Abdul Wahab
 
Old 04-22-2015, 08:59 AM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: Sutton, MA. USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu
Posts: 5,825
Blog Entries: 12

Rep: Reputation: 2008Reputation: 2008Reputation: 2008Reputation: 2008Reputation: 2008Reputation: 2008Reputation: 2008Reputation: 2008Reputation: 2008Reputation: 2008Reputation: 2008
Type "mount" to determine where this stick is mounted, and then also determine permissions for it. If you believe it is, or should be mounted at /udisk, how have you come by this belief? Does the system automatically mount it there for you, or do you issue a mount command to do this? I'm assuming if you do issue a mount command you have to either use sudo or do that as root user. If so, is that last part correct? And then are you able to cd to there as the root user? Or even ls that directory as the root user?
 
Old 04-24-2015, 01:12 AM   #3
AbdulWahab
LQ Newbie
 
Registered: Apr 2015
Posts: 28

Original Poster
Rep: Reputation: Disabled
Thanks for your reply rtmistler. I read in the user manual that when USB connected to board, it automatically create /udisk directory, but when I connect it dose not create /udisk directory. Secondly I write mount command so that it give following messages
/dev/root on / type yaffs (rw)
none on /dev type devfs (rw)
none on /proc type proc (rw,nodiratime)
none on /tmp type tmpfs (rw)
none on /var type tmpfs (rw)
I try to open this /dev/root on/ but it can't open
what other messages mean I don't know
The third thing is this that i try to use terminal as a root user for this I use two commands
su and sudo, when I write sudo so it give message that sudo: not found and when I use su so it dont give any message. If you know other command to use terminal as root so please tell me

Thanks

--
Abdul Wahab
 
Old 04-24-2015, 08:00 AM   #4
rtmistler
Moderator
 
Registered: Mar 2011
Location: Sutton, MA. USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu
Posts: 5,825
Blog Entries: 12

Rep: Reputation: 2008Reputation: 2008Reputation: 2008Reputation: 2008Reputation: 2008Reputation: 2008Reputation: 2008Reputation: 2008Reputation: 2008Reputation: 2008Reputation: 2008
Where it says:
Code:
/dev/root on / type yaffs (rw)
this means that the root directory "/" also known as SLASH is the mount point. Therefore if you do:
Code:
cd /
you will find yourself at the point where /dev/root was mounted.

The USB is NOT mounted, the rest of those are run time only file systems necessary for your kernel to operate, what you would see is something like:
Code:
/dev/sda1 on /udisk type ext4
or something similar. NOT to say that this USB stick has ext4 file system, you may have to determine how it is formatted. If it's just a general USB stick purchased from retail, then likely it is vfat file system. And next you have to mount it. In order to do this you'll need to create a mount point, which is a directory. You'll also have to do this as root. Since sudo is not available, then you'll have to log in as root.

When you plug in the USB stick, look at your system log and determine what device letter it gets assigned, such as /dev/sda, /dev/sdb, or /dev/sdf something like that.

Next try to determine how many partitions and of what type are on that disk by using fdisk, such as fdisk /dev/sda and then get a print of the partition table. This will show you how many logical partitions and of what type are on that disk. Then you can try to mount them using the mount command. You can use the mount command without the -t option and see if it can determine the file system type on it's own.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Install linux on Tq2440 Development board AbdulWahab Linux - Embedded & Single-board computer 3 04-02-2015 07:00 AM
Which development board will you choose for PowerPC development? James_xu Linux - Software 1 05-07-2012 06:22 PM
Which development board is cheap enough to choose for PowerPC development? James_xu Linux - Hardware 1 05-07-2012 05:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 10:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration