LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-19-2013, 09:01 AM   #1
littlebigman
Member
 
Registered: Aug 2008
Location: France
Posts: 658

Rep: Reputation: 35
Question Making sense of NAND memory in embedded device


Hello

To get back up and running after the PSU blew up, I successfully installed Debian7 on a SheevaPlug on a 4GB SD card.

However, since this device has a 512MB NAND flash memory, I'd rather install the OS there.

But this newbie needs to understand what is wrong with it, and how to access it:

Code:
# fdisk -l
Disk /dev/mtdblock0: 1 MB, 1048576 bytes
255 heads, 63 sectors/track, 0 cylinders, total 2048 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mtdblock0 doesn't contain a valid partition table

Disk /dev/mtdblock1: 4 MB, 4194304 bytes
255 heads, 63 sectors/track, 0 cylinders, total 8192 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xee020f10

Disk /dev/mtdblock1 doesn't contain a valid partition table

Disk /dev/mtdblock2: 531 MB, 531628032 bytes
255 heads, 63 sectors/track, 64 cylinders, total 1038336 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mtdblock2 doesn't contain a valid partition table

Disk /dev/mmcblk0: 3957 MB, 3957325824 bytes
4 heads, 16 sectors/track, 120768 cylinders, total 7729152 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000332e9

        Device Boot      Start         End      Blocks   Id  System
/dev/mmcblk0p1   *        2048      440319      219136   83  Linux
/dev/mmcblk0p2          440320     7286783     3423232   83  Linux
/dev/mmcblk0p3         7288830     7727103      219137    5  Extended
/dev/mmcblk0p5         7288832     7727103      219136   82  Linux swap / Solaris
Why all those "Disk /dev/mtdblockX doesn't contain a valid partition table" messages?

Thanks for any hint.
 
Old 11-20-2013, 02:40 AM   #2
nanmu
LQ Newbie
 
Registered: Sep 2013
Location: zhenjiang, jiangsu provice, china
Distribution: Ubuntu 12.4
Posts: 3

Rep: Reputation: Disabled
i sorry, Although I very want to help you, i have no idea
 
Old 11-20-2013, 04:39 AM   #3
littlebigman
Member
 
Registered: Aug 2008
Location: France
Posts: 658

Original Poster
Rep: Reputation: 35
No problem.

NAND flash memory is different from regular mass storage devices. More infos can be found through "cat /proc/mtd".

It appears that the Debian installer doesn't support installing directly to a NAND flash memory directly: It must first be installed onto an SD/USB keydrive, booted from there, and then copied onto the NAND flash memory.

Maybe other Linux installers are able to do this.
 
1 members found this post helpful.
  


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] .htaccess and redirect - not making sense compused Linux - Software 6 02-18-2013 07:35 AM
NAND based flash memory sulekha Linux - Hardware 3 06-01-2011 04:54 AM
making sense from syslog bluegospel Slackware 2 08-02-2010 12:45 PM
making sense of sync() kornelix Programming 1 01-18-2008 10:49 AM
making sense of /proc for 2.4.x kernel? thanhvn Linux - General 2 11-16-2005 07:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:30 AM.

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
Open Source Consulting | Domain Registration