473,503 Members | 2,046 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Linux(debian) on ARM, MTD partition

Plater
7,872 Recognized Expert Expert
I've run into a bit of trouble on this, not sure anyone here has ever done anything similar.
We have a cirus ARM chip with an MTD FLASH chip
Redboot is running on it (with ethernet support)
Partitions on flash have been made for Ramdisk and zImage.
We can successfully boot into the linux kernal and a shell.
Linux reports 8 MTD block devices (mtd0 - mtd7)
A number of them are "unallocated".
We wish to create a write-able file system in those unallocated spaces (ext2, jfss2, fat32, whatever)
However, since it's an MTD, we cannot use FDISK to partition the unallocated space.
We have found no MTD-related way to mark that unallocated space for something usefull.
Expand|Select|Wrap|Line Numbers
  1. flash_erase -j /dev/mtd3  
  2.  
Erased the mtd3 partition (which was, and still IS, marked as unallocated) with an extra erase for jfss2 support.

Has anyone ever dealt with this? Currently, there is no write-able filesystems on the device since the allocated and mounted partitions are all created from the image/ramdisk files.
Do we need to setup a filesystem in redboot for one of the unallocated sections before we boot the kernel or something?
May 16 '08 #1
1 3767
Plater
7,872 Recognized Expert Expert
As an update, we changed over to that jfss2 filesystem.
Using Redboot we were able to "load in" a jfss2 filesystem in place of Ramdisk/zImage combination.
The result produced a single writeable filesystem that persists through powerfailures and reboots.
It still takes a full 15secs to reboot unfortunatly so more work is needed.
May 19 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
1774
by: Alfta | last post by:
Greeting all, I was wondering if anyone would like to offer some opinions on the various Linux distros out there. I plan to dual boot both Windows XP Pro and Linux and run PHP on the Linux...
1
2595
by: Guillaume Gervais | last post by:
Hello there, I'm using Debian GNU/Linux testing/unstable (sarge) as an operating system. About a month ago, I installed python 2.3 on my machine, from the sources. And it worked perfectly. ...
2
1673
by: adamg | last post by:
Hello My native distribution is Linux Debian. I have written the C++ multithreaded application (using ptypes libs). After compilation on debian everything works ok (6 threads workinng) but...
5
3316
by: Thomas | last post by:
Hi folks, is there any obvious reason why the java compiler cannot load jars from an NTFS filesystem under Linux (Debian) ? I know for sure that the path I specify is correct and I have read...
0
2305
by: heddy Boubaker | last post by:
hi, as the subject said I've pb compiling php-4.4.4 and php-5.1.6 with ldap module activated on linux debian sarge (2.6.8-3-686-smp) : - for 4.4.4 I've % /bin/sh /www/src/php-4.4.4/libtool...
2
2237
by: jalqadir | last post by:
Hi folks! What would be the most common database used in Linux Debian? I have an app that uses MS-Access as its database. The reason I chose Access was because it is the most common Database in the...
0
1641
by: duckiewu | last post by:
Hello everyone, I am having problem in installing DB2 V9 on debian. It can't create an instance because of a system error. It says "SQL1042C An unexpected system error occurred. SQLSTATE=58004...
2
4172
by: thomasolsen | last post by:
Hi, I have a java program running on Linux Debian using jre 1.6 (I have tried under 1.5 with excatly the same results). As the program is running as a service I have been watching the memory usage...
0
1312
by: Christian Heimes | last post by:
python dev wrote: The /sys and /proc file system provide all the information you need: for line in open("/proc/mounts"): ... Christian
0
7204
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7091
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7282
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6998
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7464
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
4680
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3171
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3162
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1516
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.