Probleme beim Erstellen von Flash-JFFS2-Only Image

Anlaufschwierigkeiten? Was ist was? Worum geht's?
dlubacz
Neugieriger
Neugieriger
Beiträge: 16
Registriert: Donnerstag 5. Mai 2005, 00:21

Probleme beim Erstellen von Flash-JFFS2-Only Image

Beitrag von dlubacz »

Hallo,
ich habe den neuen CVS ausgecheckt und alles kompiliert.
Danach habe ich die Anpasungen aus "Howto JFFS2 Only Image erstellen Kernel 2.4.27 and newer" gemacht und image.img erstellt. Die Fuellung und Struktur ist, laut "New Tuxbox Flash Tools v0.1" im Ordnung (belegt
6,55MB). Nach dem Flashen kommt:
  • Ndebug: DDF: Calibrating delay loop... debug: DDF: 67.79 BogoMIPS
    debug: BMon V1.0 mID 01
    debug: feID 7a gtxID 0b
    debug: fpID 5a dsID xx-xx.xx.xx.xx.xx.xx-xx
    debug: HWrev X5 SWrev 0.81
    debug: B/Ex/Fl(MB) 32/00/08
    WATCHDOG reset enabled
    dbox2:root> debug:
    BOOTP/TFTP bootstrap loader (v0.3)
    debug:
    debug: Transmitting BOOTP request via broadcast
    debug: Given up BOOTP/TFTP boot
    boot net failed

    Flash-FS bootstrap loader (v1.5)

    Found Flash-FS superblock version 3.1
    Found file /root/platform/nokia-dbox2/kernel/os in Flash-FS
    debug: Got Block #0032

    will verify ELF image, start= 0x800000, size= 143992
    verify sig: 262
    Branching to 0x40000


    U-Boot 0.4.5 (TuxBox) JFFS2 only (Jan 01 2004 - 18:47:07)

    CPU: PPC823ZTnnB2 at 67.200 MHz: 2 kB I-Cache 1 kB D-Cache
    Board: DBOX2, Nokia, BMon V1.0 -- Watchdog enabled
    I2C: ready
    DRAM: 32 MB
    FLASH: 8 MB

    Scanning JFFS2 FS: ...... done.
    ### FS (jffs2) loading 'var/tuxbox/boot/boot.conf'
    ### FS (jffs2) loading 'var/tuxbox/boot/u-boot.conf'

    LCD: ready
    FB: ready
    In: serial
    Out: serial
    Err: serial
    Net: SCC ETHERNET

    ### FS (jffs2) loading 'var/tuxbox/boot/logo-lcd'
    ### FS (jffs2) loading 'var/tuxbox/boot/logo-fb'
    ### FS (jffs2) loading 'vmlinuz'
    ...............................................................
    Un-Protected 63 sectors
    ## Booting image at 00100000 ...
    Image Name: dbox2
    Image Type: PowerPC Linux Kernel Image (gzip compressed)
    Data Size: 625261 Bytes = 610.6 kB
    Load Address: 00000000
    Entry Point: 00000000
    Verifying Checksum ... OK
    Uncompressing Kernel Image ... OK
    Linux version 2.4.27-dbox2 (root@hades) (gcc version 3.3.5) #1 Wed May 4 23:01:3
    3 CEST 2005
    On node 0 totalpages: 8192
    zone(0): 8192 pages.
    zone(1): 0 pages.
    zone(2): 0 pages.
    console=ttyS0 line: root=/dev/mtdblock2 rw
    Decrementer Frequency = 252000000/60
    m8xx_wdt: active wdt found (SWTC: 0xFFFF, SWP: 0x1)
    m8xx_wdt: keep-alive trigger installed (PITC: 0x12C0)
    Console: colour dummy device 80x25
    Calibrating delay loop... 66.96 BogoMIPS
    Memory: 30876k available (1064k kernel code, 368k data, 60k init, 0k highmem)
    Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
    Inode cache hash table entries: 2048 (order: 2, 16384 bytes)
    Mount cache hash table entries: 512 (order: 0, 4096 bytes)
    Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
    Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
    POSIX conformance testing by UNIFIX
    Linux NET4.0 for Linux 2.4
    Based upon Swansea University Computer Society NET3.039
    Initializing RT netlink socket
    Starting kswapd
    devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
    devfs: boot_options: 0x1
    JFFS2 version 2.2. (C) 2001-2003 Red Hat, Inc.
    Squashfs 2.1-r2 (released 2004/12/15) (C) 2002-2004 Phillip Lougher
    i2c-core.o: i2c core module version 2.6.1 (20010830)
    i2c-dev.o: i2c /dev entries driver module version 2.6.1 (20010830)
    CPM UART driver version 0.04
    ttyS0 at 0x0280 is on SMC1 using BRGttyS1 at 0x0380 is on SMC2 using BRG2
    pty: 256 Unix98 ptys configured
    eth0: CPM ENET Version 0.2.dbox2 on SCC2, 00:50:9c:42:4c:f0
    D-Box 2 flash driver (size->0x800000 mem->0x10000000)
    D-Box 2 flash memory: Found 2 x16 devices at 0x0 in 32-bit mode
    Intel/Sharp Extended Query Table at 0x0035
    cfi_cmdset_0001: Erase suspend on write enabled
    Using word write method
    Creating 5 MTD partitions on "D-Box 2 flash memory":
    0x00000000-0x00020000 : "BR bootloader"
    0x00020000-0x00040000 : "flfs (u-boot)"
    0x00040000-0x00800000 : "root (jffs2)"
    0x00020000-0x00800000 : "flash without bootloader"
    0x00000000-0x00800000 : "complete flash"
    Linux video capture interface: v1.00
    mice: PS/2 mouse device common for all mice
    NET4: Linux TCP/IP 1.0 for NET4.0
    IP Protocols: ICMP, UDP, TCP
    IP: routing cache hash table of 512 buckets, 4Kbytes
    TCP: Hash tables configured (established 2048 bind 4096)
    NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
    cramfs: wrong magic
    VFS: Mounted root (jffs2 filesystem) readonly.
    Mounted devfs on /dev
    Freeing unused kernel memory: 60k init
und kein Schritt weiter :oops:
Ich habe nach einer Hilfestellung via letzten Zeilen gesucht, leider ohne Erfolg - koennte einer mir auf die Sprunge helfen?
Ich habe heute mind. drei mal alles neuinstalliert, CVS-ausgecheckt, kompiliert und.. gleiches Ergebnis..
Danke im Vorraus
dlubacz

P.S.
Linux auf dr Workstation ist SuSE 9.0 (leider brauche ich ihn fuer andere Projekte), Zeildbox ist Nokia-Sat 2x Intel..


P.S.(2)
Ich bin alleine etwas weiter gekommen :wink:

nur ein Problem habe ich weiter:

mein neues JFFS2-Only-Image wird nur Readonly geladen..!
Fuer die Hilfestellung, wie ich das abstellen kann, wuerde ich sehr dankbar.
  • Vdebug: DDF: Calibrating delay loop... debug: DDF: 67.79 BogoMIPS
    ..
    Flash-FS bootstrap loader (v1.5)

    Found Flash-FS superblock version 3.1
    Found file /root/platform/nokia-dbox2/kernel/os in Flash-FS
    debug: Got Block #0032

    will verify ELF image, start= 0x800000, size= 143992
    verify sig: 262
    Branching to 0x40000


    U-Boot 0.4.5 (TuxBox) JFFS2 only (Jan 01 2004 - 18:47:07)

    CPU: PPC823ZTnnB2 at 67.200 MHz: 2 kB I-Cache 1 kB D-Cache
    Board: DBOX2, Nokia, BMon V1.0 -- Watchdog enabled
    I2C: ready
    DRAM: 32 MB
    FLASH: 8 MB

    Scanning JFFS2 FS: ....... done.
    ### FS (jffs2) loading 'var/tuxbox/boot/boot.conf'
    ### FS (jffs2) loading 'var/tuxbox/boot/u-boot.conf'

    LCD: ready
    FB: ready
    In: serial
    Out: serial
    Err: serial
    Net: SCC ETHERNET

    ### FS (jffs2) loading 'var/tuxbox/boot/logo-lcd'
    ### FS (jffs2) loading 'var/tuxbox/boot/logo-fb'
    ### FS (jffs2) loading 'vmlinuz'
    ...............................................................
    Un-Protected 63 sectors
    ## Booting image at 00100000 ...
    Image Name: dbox2
    Image Type: PowerPC Linux Kernel Image (gzip compressed)
    Data Size: 625264 Bytes = 610.6 kB
    Load Address: 00000000
    Entry Point: 00000000
    Verifying Checksum ... OK
    Uncompressing Kernel Image ... OK
    Linux version 2.4.27-dbox2 (root@hades) (gcc version 3.3.5) #1 Thu May 5 15:21:0
    9 CEST 2005
    On node 0 totalpages: 8192
    zone(0): 8192 pages.
    zone(1): 0 pages.
    zone(2): 0 pages.
    console=ttyS0 line: root=/dev/mtdblock2 rw
    Decrementer Frequency = 252000000/60
    m8xx_wdt: active wdt found (SWTC: 0xFFFF, SWP: 0x1)
    m8xx_wdt: keep-alive trigger installed (PITC: 0x1000)
    Console: colour dummy device 80x25
    Calibrating delay loop... 66.96 BogoMIPS
    Memory: 30876k available (1064k kernel code, 368k data, 60k init, 0k highmem)
    Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
    Inode cache hash table entries: 2048 (order: 2, 16384 bytes)
    Mount cache hash table entries: 512 (order: 0, 4096 bytes)
    Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
    Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
    POSIX conformance testing by UNIFIX
    Linux NET4.0 for Linux 2.4
    Based upon Swansea University Computer Society NET3.039
    Initializing RT netlink socket
    Starting kswapd
    devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
    devfs: boot_options: 0x1
    JFFS2 version 2.2. (C) 2001-2003 Red Hat, Inc.
    Squashfs 2.1-r2 (released 2004/12/15) (C) 2002-2004 Phillip Lougher
    i2c-core.o: i2c core module version 2.6.1 (20010830)
    i2c-dev.o: i2c /dev entries driver module version 2.6.1 (20010830)
    CPM UART driver version 0.04
    ttyS0 at 0x0280 is on SMC1 using BRGttyS1 at 0x0380 is on SMC2 using BRG2
    pty: 256 Unix98 ptys configured
    eth0: CPM ENET Version 0.2.dbox2 on SCC2, 00:50:9c:42:4c:f0
    D-Box 2 flash driver (size->0x800000 mem->0x10000000)
    D-Box 2 flash memory: Found 2 x16 devices at 0x0 in 32-bit mode
    Intel/Sharp Extended Query Table at 0x0035
    cfi_cmdset_0001: Erase suspend on write enabled
    Using word write method
    Creating 5 MTD partitions on "D-Box 2 flash memory":
    0x00000000-0x00020000 : "BR bootloader"
    0x00020000-0x00040000 : "flfs (u-boot)"
    0x00040000-0x00800000 : "root(jffs2)"
    0x00020000-0x00800000 : "flash without bootloader"
    0x00000000-0x00800000 : "complete flash"
    Linux video capture interface: v1.00
    mice: PS/2 mouse device common for all mice
    NET4: Linux TCP/IP 1.0 for NET4.0
    IP Protocols: ICMP, UDP, TCP
    IP: routing cache hash table of 512 buckets, 4Kbytes
    TCP: Hash tables configured (established 2048 bind 4096)
    NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
    cramfs: wrong magic
    VFS: Mounted root (jffs2 filesystem) readonly.
    Mounted devfs on /dev
    Freeing unused kernel memory: 60k init
    Starting pid 10, console /dev/console: '/etc/init.d/rcS'ti-call b
    /etc/init.d/rcS: 10: ./etc/profile: Permission denied
    Using /lib/modules/2.4.27-dbox2/misc/tuxbox.o
    Detected STB:
    Vendor: Nokia
    Model: D-BOX2
    Using /lib/modules/2.4.27-dbox2/misc/dvb-core.o
    Using /lib/modules/2.4.27-dbox2/misc/dbox2_i2c.o
    [i2c-8xx]: mpc 8xx i2c init
    [i2c-8xx]: adapter: 0
    Using /lib/modules/2.4.27-dbox2/misc/dvb_i2c_bridge.o
    Using /lib/modules/2.4.27-dbox2/misc/event.o
    event: $Id: event.c,v 1.12 2003/09/30 05:45:38 obi Exp $

    ..

    /etc/init.d/rcS: 90: cannot create /etc/issue.net: Read-only file system
    Starting pid 69, console /dev/console: '/etc/init.d/start'

    ..

    [ConfigFile] Unable to open file /var/tuxbox/config/scan.conf for writing.
    [ConfigFile] Unable to open file /var/tuxbox/config/neutrino.conf for writing.

    ..
Ich hoffe, das ich die richtige (wichtige) Teile au logfile gelassen habe..
Koennte mir jemand sagen, wie ich den neuen u-boot aktivieren kann:
neue cvs ist ausgecheckt, aber es kommt immer "U-Boot 0.4.5" nicht
1.xx .. und warum habe ich squashfs drin - ich habe "make all" und "make flash-neutrino-all" gemacht..

Gruesse und danke im Vorraus fuer die Hilfe.
dlubacz
dlubacz
Neugieriger
Neugieriger
Beiträge: 16
Registriert: Donnerstag 5. Mai 2005, 00:21

Beitrag von dlubacz »

Hallo,
ich habe die Probleme geloesst, also brauche ich dazu keine Hilfestellung mehr :wink: :
- neues u-boot 1.1.2 fuer JFFS2-Only erstellt (nach Hilfestellung von Dbox2Word User)
- rcS nachgebessert.
Gruesse
dlubacz
Alway a beginer..