Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
19 years ago

about cfi-flash for DE2 board....

hi hippo

my cif-flash addr is 0x0800000.

Dose i need to change my cfi-flash addr mapping MTD partition of altera.c ?

Thx !

32 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    hi hippo

    I have mkdir a /root dir in jffs on uclinux that can see some dirs in root dir.

    Is it right that you said ?

    <div class='quotetop'>QUOTE </div>

    --- Quote Start ---

    BusyBox v1.1.1-pre0 (2006.04.20-12:52+0000) Built-in shell (msh)

    Enter &#39;help&#39; for a list of built-in commands.

    # mount -t jffs2 /dev/mtdblock0 /mnt# cd /mnt# ls -l

    drwxr-xr-x 15 root root 0 Nov 29 17:04 root# cd /mnt/root# ls -l

    drwxr-xr-x 6 root root 0 Nov 29 17:00 dev

    drwxr-xr-x 4 root root 0 Nov 29 17:00 etc

    drwxr-xr-x 3 root root 0 Nov 29 17:00 home

    lrwxrwxrwx 1 root root 10 Nov 29 17:04 init -> /sbin/init

    drwxr-xr-x 2 root root 0 Nov 29 17:00 lib

    drwxr-xr-x 2 root root 0 Nov 29 17:03 mnt

    drwxr-xr-x 2 root root 0 Nov 29 17:00 opt

    drwxr-xr-x 2 root root 0 Nov 29 17:03 proc

    drwxr-xr-x 2 root root 0 Nov 29 17:00 root

    drwxr-xr-x 2 root root 0 Nov 29 17:00 sbin

    drwxr-xr-x 2 root root 0 Nov 29 17:03 sys

    drwxr-xr-x 2 root root 0 Nov 29 17:03 tmp

    drwxr-xr-x 5 root root 0 Nov 29 17:00 usr

    drwxr-xr-x 2 root root 0 Nov 29 17:03 var# cd /# umount /mnt# [/b]

    --- Quote End ---

    How to do that next step ?

    Thx !
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Sorry, you have /mnt/root already (it was my mistake).

    Please rebuild your /mnt root fs, not under /mnt/root .

    And try rebuild the kernel with root jffs2.