public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Daniel Belz <danielb@cyclades.com.br>
To: MTD <linux-mtd@lists.infradead.org>
Subject: Mounting JFFS2, Bootloader
Date: Thu, 11 Jul 2002 09:28:46 -0300	[thread overview]
Message-ID: <3D2D79FE.5C54CC78@cyclades.com.br> (raw)

Hi,

I have a proprietary board with the MPC860 processor.
For this board, I have a ROM Startup code that lives in a
256k Atmel flash chip (is my BIOS). This code initialize
the needed features, read a "boot sector" from a compact
flash (just for check some integrity) and read a linux
kernel and a ramdisk from previous defined locations.
This works fine, but I like to change this schema to
support the JFFS2 file system.
For this, I like to mantain my ROM startup code, modifying
just the process that load the kernel and ramdisk. The process
must load a bootloader (something like lilo) that allow
read a configuration file from the JFFS partition, choose a kernel to
boot from a list or boot from network.
I'm studing various codes from different bootloaders, and i think
that this isn't very complex. The most complex task is support the
JFFS2. 
To do this, i like to solve some doubts:
1 - How i do to mount the JFFS2 without before load the kernel?
2 - I need mount the JFFS2 to read files from them, or I can read files
from the partition without mount them?
3 - When I mount the partition: on startup of the BL or just when I need 
to read something?
4 - Which are the steps to mount the FS? Which functions are needed call
to do this? 
5 - Which files I need to include in the software?
6 - Someone have a sample code that explain these process?

I like to known some opinions and hints to do this!

PS.: I don't like to use the PPCBoot!!!

Tanks

-- 
------------------------------------------------- 
 Daniel Belz           danielb@cyclades.com.br
 Cyclades Brasil       R&D 
 Sao Paulo - Brazil    +55 (11) 5033-3393
---------------------------------------

             reply	other threads:[~2002-07-11 12:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-11 12:28 Daniel Belz [this message]
2002-07-11 17:08 ` Mounting JFFS2, Bootloader Justin Wojdacki
2002-07-11 17:42   ` Daniel Belz
2002-07-11 18:49     ` Justin Wojdacki
2002-07-12 15:43 ` Marius Groeger
2002-07-11 17:50   ` Daniel Belz
2002-07-11 17:45     ` Russ Dill

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3D2D79FE.5C54CC78@cyclades.com.br \
    --to=danielb@cyclades.com.br \
    --cc=linux-mtd@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox