Mounting a JFFS2 image in a Linux PC

We often use JFFS2 binary images for embedded system, generating them with mkfs.jffs2. In some instances, it could also be good to mount a jffs2 image into your PC to modify it directly. To do that,  type the following commands as root in a linux shell: modprobe mtdcore modprobe jffs2 modprobe mtdram modprobe mtdchar modprobe mtdblock dd if=image-jffs2 of=/dev/mtd0 mount /dev/mtdblock0 mnt If your image is larger than the default kernel size (4MB in my case), you can try to adjust the mtdram device size with the total_size parameters. when inserting the mtdram module, e.g.: modprobe mtdram total_size=8096 where total_size is expressed in KB Further details can be found @ http://www.handhelds.org/hypermail/familiar/62/6232.html

Sigma Designs EM862X Resources

We are using EM8623 for the development of set-top-box and digital signage applications. In order to develop for that platform, an SDK must be purchased directly from Sigma Designs. However, the linux kernel is open source so companies need to release the source if they modified it in their products. For example, you could download the GPL source released by Kiss Technology – http://www.kiss-technology.com/files/firmware/GPL.zip. This is only the GPL source for your reference, after that there are also sigma linux drivers (not released by sigma) and not GPL, and the MRUA package that needs to be purchased from Sigma Designs. One the challenge of using EM862X platforms (EM8620L, EM8621L, EM8622L, EM8623L etc..) is that it has no MMU (Memory Management Unit) and that may make the software debugging very interesting.. You may experience spectacular crashes, kernel panic without any apparent reason. But most of the time this is due to […]

Advertisement

About Us

CNX Software Limited is a news and information company managing the “CNX Software” blogs covering embedded systems, the maker community, popular development boards and SBCs such as Raspberry Pi, ESP8266, and Arduino, as well as more obscure hardware platforms, Linux, and open-source software and hardware as a whole. Contributors – English version Jean-Luc Aufranc (aka CNXSoft), Founder, and editor-in-chief – Jean-Luc started CNX Software in 2010 as a part-time endeavor, before quitting his job as a software engineering manager, and starting to write daily news, and reviews full-time later in 2011. You can follow him on Twitter or LinkedIn. Karl Johnson, Contributor – Karl is a technology enthusiast who contributes reviews of TV boxes, 3D printers, and other gadgets for makers. You can also find him on YouTube. Ian W. Morrison (aka linuxium), Contributor – Ian is interested in mini PCs and helps with reviews of mini PCs running Windows, […]

Boardcon Rockchip and Allwinner SoM and SBC products