473,394 Members | 2,168 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Linux(debian) on ARM, MTD partition

Plater
7,872 Expert 4TB
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 3765
Plater
7,872 Expert 4TB
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
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
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
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
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
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
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
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
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
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
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.