Re: Kernel panic on Linux boot up

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Feb 20, 2008 12:00 PM, tomy <tomy@xxxxxxxxxxxx> wrote:
> In Linux, flash partition is given below
> static struct mtd_partition __initdata ek_nand_partition[] = {
>     {
>         .name    = "Kernel",
>         .offset    = 0x00000000,
>         .size    = 4 * 1024 * 1024,
>     },
>     {
>         .name    = "Ram File System",
>         .offset    = 0x00400000,
>         .size    = 4 * 1024 * 1024,
>     },
>     {
>         .name    = "Flash File System",
>         .offset    = 0x001000000,
>         .size    = 32 * 1024 * 1024,
>     },
> };
>  And I have written the file system with size 32 MB to flash address
> starting from 0x001000000 and the kernel option is /dev/mtdblock2 not
> /dev/mtdblock3.

How did you generate the JFFS file system. Which files and directories
did you create on it?
Your root file system cannot just be empty, it needs to contain
certain files, like /dev/console and /bin/sh, as I tried to explain in
my first post.

If you just generated an empty jffs-partition, then it will never work...

Thomas

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux