Also die erste y/n Option ist für eine yadd und die die zweite y/n für alles Andere....busybox.config.m4 hat geschrieben:ifdef(`yadd',`define(`option',`dooption($1,$2)')',`define(`option',`dooption($1,$3)')')
Marc
Also die erste y/n Option ist für eine yadd und die die zweite y/n für alles Andere....busybox.config.m4 hat geschrieben:ifdef(`yadd',`define(`option',`dooption($1,$2)')',`define(`option',`dooption($1,$3)')')
Code: Alles auswählen
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 #0036
will verify ELF image, start= 0x800000, size= 160440
verify sig: 262
Branching to 0x40000
U-Boot 1.2.0 (Tuxbox) (Feb 6 2008 - 18:47:37)
CPU: PPC823ZTnnA at 67.200 MHz: 2 kB I-Cache 1 kB D-Cache
*** Warning: CPU Core has Silicon Bugs -- Check the Errata ***
Board: DBOX2, Nokia, BMon V1.0
Watchdog enabled
I2C: ready
DRAM: 32 MB
FLASH: 8 MB
Scanning JFFS2 FS: . done.
find_inode failed for name=boot.conf
load: Failed to find inode
FB: ready
LCD: ready
In: serial
Out: serial
Err: serial
Net: SCC ETHERNET
find_inode failed for name=logo-lcd
load: Failed to find inode
ready - can't find logo in flash
find_inode failed for name=logo-fb
load: Failed to find inode
can't find logo in flash
Options:
1: console on ttyCPM0 (2.6)
2: console on fb0
3: console on ttyS0 (2.4)
Select option (1-3), other keys to stop autoboot: 0
### FS (squashfs) loading 'vmlinuz' to 0x200000
### FS load complete: 940550 bytes loaded to 0x200000
............................................................... done
Un-Protected 63 sectors
## Booting image at 00200000 ...
Image Name: Linux-2.6.23-dbox2
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 940486 Bytes = 918.4 kB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
[ 0.000000] Linux version 2.6.23-dbox2 (dbox@localhost) (gcc version 3.4.6) #3
PREEMPT Wed Feb 6 18:48:26 CET 2008
[ 0.000000] Zone PFN ranges:
[ 0.000000] DMA 0 -> 8192
[ 0.000000] Normal 8192 -> 8192
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] early_node_map[1] active PFN ranges
[ 0.000000] 0: 0 -> 8192
[ 0.000000] Built 1 zonelists in Zone order. Total pages: 8128
[ 0.000000] Kernel command line: console=ttyCPM0,9600 root=/dev/mtdblock2 roo
tfstype=squashfs
[ 0.000000] PID hash table entries: 128 (order: 7, 512 bytes)
[ 0.000000] Decrementer Frequency = 252000000/60
[ 0.000000] m8xx_wdt: active wdt found (SWTC: 0xFFFF, SWP: 0x1)
[ 0.000000] m8xx_wdt: keep-alive trigger installed (PITC: 0x12C0)
[ 7.394654] Console: colour dummy device 80x25
[ 7.394799] cpm_uart: console: compat mode
[ 7.395017] console [ttyCPM0] enabled
[ 8.394025] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 8.473328] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 8.562893] Memory: 30356k available (1564k kernel code, 456k data, 64k init,
0k highmem)
[ 8.876363] Mount-cache hash table entries: 512
[ 8.941810] NET: Registered protocol family 16
[ 9.083147] NET: Registered protocol family 2
[ 9.215013] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 9.296081] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[ 9.378264] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 9.454009] TCP: Hash tables configured (established 1024 bind 1024)
[ 9.529865] TCP reno registered
[ 9.595312] dbox2: Nokia board detected.
[ 9.659723] squashfs: version 3.3 (2007/10/31) Phillip Lougher
[ 9.726648] JFFS2 version 2.2. (NAND) 2001-2006 Red Hat, Inc.
[ 9.800569] io scheduler noop registered
[ 9.844907] io scheduler deadline registered (default)
[ 9.936540] Serial: CPM driver $Revision: 0.02 $
[ 9.988975] cpm_uart: WARNING: no UART devices found on platform bus!
[ 10.065741] cpm_uart: the driver will guess configuration, but this mode is n
o longer supported.
[ 10.171250] ttyCPM0 at MMIO 0xff000a80 (irq = 20) is a CPM UART
[ 10.243540] ttyCPM1 at MMIO 0xff000a90 (irq = 19) is a CPM UART
[ 10.331849] loop: module loaded
[ 10.370711] Linux video capture interface: v2.00
[ 10.427218] D-Box 2 flash driver (size->0x800000 mem->0x10000000)
[ 10.500675] D-Box 2 flash memory: Found 2 x16 devices at 0x0 in 32-bit bank
[ 10.580926] Intel/Sharp Extended Query Table at 0x0035
[ 10.643044] cfi_cmdset_0001: Erase suspend on write enabled
[ 10.710104] Creating 6 MTD partitions on "D-Box 2 flash memory":
[ 10.781533] 0x00000000-0x00020000 : "BR bootloader"
[ 10.845957] 0x00020000-0x00040000 : "FLFS (U-Boot)"
[ 10.907268] 0x00040000-0x006a0000 : "root (squashfs)"
[ 10.970850] 0x006a0000-0x00800000 : "var (JFFS2)"
[ 11.030310] 0x00020000-0x00800000 : "Flash without bootloader"
[ 11.102963] 0x00000000-0x00800000 : "Complete Flash"
[ 11.167371] mice: PS/2 mouse device common for all mice
[ 11.235631] eth0: CPM ENET Version 0.2 on SCC2, 00:50:9c:17:45:39
[ 11.305376] TCP cubic registered
[ 11.344367] NET: Registered protocol family 1
[ 11.396315] NET: Registered protocol family 17
[ 11.462710] VFS: Mounted root (squashfs filesystem) readonly.
[ 11.542880] Freeing unused kernel memory: 64k it
init started: BusyBox v1.7.2 (2008-02-06 18:48:47 CET)
starting pid 103, tty '': '/etc/init.d/rcS'
/bin/makedevices
modprobe: module tuxbox not found
modprobe: failed to load module tuxbox
/proc/bus/tuxbox/vendor: No such file or directory
/proc/bus/tuxbox/vendor: No such file or directory
/proc/bus/tuxbox/model: No such file or directory
/proc/bus/tuxbox/model: No such file or directory
/proc/bus/tuxbox/submodel: No such file or directory
/proc/bus/tuxbox/submodel: No such file or directory
Detected STB:
Vendor: Unknown
Model: Unknown Unknown
modprobe: module dvb-core not found
modprobe: failed to load module dvb-core
modprobe: module dbox2_i2c not found
modprobe: failed to load module dbox2_i2c
modprobe: module saa7126 not found
modprobe: failed to load module saa7126
modprobe: module avs not found
modprobe: failed to load module avs
modprobe: module lcd not found
modprobe: failed to load module lcd
modprobe: module dbox2_fp_input not found
modprobe: failed to load module dbox2_fp_input
modprobe: module dbox2_napi not found
modprobe: failed to load module dbox2_napi
modprobe: module avia_gt_fb not found
modprobe: failed to load module avia_gt_fb
modprobe: module avia_gt_lirc not found
modprobe: failed to load module avia_gt_lirc
modprobe: module avia_gt_oss not found
modprobe: failed to load module avia_gt_oss
modprobe: module avia_gt_v4l2 not found
modprobe: failed to load module avia_gt_v4l2
modprobe: module aviaEXT not found
modprobe: failed to load module aviaEXT
Starting the automounter
modprobe: module nfs not found
modprobe: failed to load module nfs
starting pid 187, tty '': '/etc/init.d/start'
Please press Enter to activate this console. Thu Jan 1 01:00:00 CET 1970
$Id: sectionsd.cpp,v 1.259 2008/01/12 16:57:22 seife Exp $
[ConfigFile] Unable to open file /var/tuxbox/config/neutrino.conf for reading.
[sectionsd] /var/tuxbox/config/neutrino.conf not found
[sectionsd] Caching max 6000 events
[sectionsd] Caching 14 days
[sectionsd] Caching 6 hours Extended Text
[sectionsd] Events are old 60min after their end time
/var/tuxbox/config/zapit/epgfilter.xml: No such file or directory
/var/tuxbox/config/mybouquets.xml: No such file or directory
[sectionsd] getUTC: open: No such device or address
[eitThread] pid 194 start
[sectionsd] open dmx: No such device or address
[sectionsd] open dmx: No such device or address
[sectionsd] open dmx: No such device or address
[sectionsd] open dmx: No such device or address
[ConfigFile] Unable to open file /var/tuxbox/config/timerd.conf for reading.
[camd] /dev/dvb/adapter0/ca0: No such device or address
$Id: zapit.cpp,v 1.405 2008/01/03 11:05:31 seife Exp $
[ConfigFile] Unable to open file /var/tuxbox/config/zapit/zapit.conf for reading
.
[frontend] uncommitted_switch_mode 0
[frontend.cpp:CFrontend:61] /dev/dvb/adapter0/frontend0: No such device or addre
ss
[sectionsd] getUTC: open: No such device or address
/var/tuxbox/config/zapit/services.xml: No such file or directory
[audio.cpp:CAudio:37] /dev/dvb/adapter0/audio0: No such device or address
[video.cpp:CVideo:33] /dev/dvb/adapter0/video0: No such device or address
[aviaext.cpp:CAViAext:37] /dev/dbox/aviaEXT: No such file or directory
$Id: controld.cpp,v 1.130 2008/01/03 11:09:27 seife Exp $
[ConfigFile] Unable to open file /var/tuxbox/config/controld.conf for reading.
[controld] /var/tuxbox/config/controld.conf not found
/proc/bus/tuxbox/vendor: No such file or directory
[controld] Boxtype detected: (0)
[controld] /dev/dvb/adapter0/video0: No such device or address
[controld] /dev/dbox/avs0: No such file or directory
[controld] /dev/dbox/event0: No such file or directory
[controld] /dev/dbox/avs0: No such file or directory
[controld] caught exception in eventwatchdog!
FATAL: exception not rethrown
[sectionsd] getUTC: open: No such device or address
[yhttpd] Webserver nhttpd/3.1.6 (yhttpd_core/1.2.0)
LCD (/dev/dbox/lcd0): No such file or directory
[LCDFONT] initializing core...
[LCDFONT] adding font /share/fonts/micron.ttf...OK (Micron/Regular)
[LCDFONT] adding font /share/fonts/micron_bold.ttf...OK (Micron/Bold)
[LCDFONT] adding font /share/fonts/pakenham.ttf...OK (Pakenham/Regular)
[LCDFONT] Intializing font cache...
[ConfigFile] Unable to open file /var/tuxbox/config/nhttpd.conf for reading.
[yhttpd] Webserver starting...
[sectionsd] getUTC: open: No such device or address
neutrino: /lib/libpng12.so.0: no version information available (required by neut
rino)
[sectionsd] getUTC: open: No such device or address
[sectionsd] getUTC: open: No such device or address
starting /bin/neutrino
[neutrino] frameBuffer Instance created
/dev/fb/0: No such device
framebuffer not available.
FBIOPUT_VSCREENINFO: Bad file descriptor
FBIOGET_FSCREENINFO: Bad file descriptor
[neutrino] Error while setting framebuffer mode
Neutrino exited with nonzero exit status, restarting...
[camd] /dev/dvb/adapter0/ca0: No such device or address
[sectionsd] getUTC: open: No such device or address
$Id: controld.cpp,v 1.130 2008/01/03 11:09:27 seife Exp $
[ConfigFile] Unable to open file /var/tuxbox/config/controld.conf for reading.
[controld] /var/tuxbox/config/controld.conf not found
/proc/bus/tuxbox/vendor: No such file or directory
[controld] Boxtype detected: (0)
[controld] /dev/dbox/event0: No such file or directory
[controld] /dev/dvb/adapter0/video0: No such device or address
[controld] /dev/dbox/avs0: No such file or directory
[controld] /dev/dbox/avs0: No such file or directory
[controld] caught exception in eventwatchdog!
FATAL: exception not rethrown
neutrino: /lib/libpng12.so.0: no version information available (required by neut
rino)
[sectionsd] getUTC: open: No such device or address
starting /bin/neutrino
[neutrino] frameBuffer Instance created
/dev/fb/0: No such device
framebuffer not available.
FBIOPUT_VSCREENINFO: Bad file descriptor
FBIOGET_FSCREENINFO: Bad file descriptor
[neutrino] Error while setting framebuffer mode
Neutrino exited with nonzero exit status, restarting...
[camd] /dev/dvb/adapter0/ca0: No such device or address
$Id: controld.cpp,v 1.130 2008/01/03 11:09:27 seife Exp $
nichtmodprobe: module tuxbox(.ko) not found
Ich will einfach ein bisschen rumprobieren.MarcM hat geschrieben:.......ohje......ich frage mich ernsthaft warum du versuchst dir selber ein Image zu kompilieren was quasi noch nichtmal Serienreife hat (Kernel 2.6), wenn du noch nichtmal Grundkenntnisse in Linux hast.
sind sie auch in cdkflash/root-neutrino-squashfs/lib/modules/2.6.23-dbox2 ? Denn das ist das was später auch im Image drin ist....starfighter007 hat geschrieben:Und nach dem compilieren habe ich gesehen, dass diese module, die er angeblich nicht findet alle unter cdkflash/root-squashfs/lib/modules/2.6.23-dbox2 sind...
Das gleiche Problem hatte ich auch beim ersten Start nach dem Flashen,Tommy hat geschrieben:Die Box geht nach dem letzten Eintrag sofort in den Deepstandby. '/lib/modules/2.6.23-dbox2/extra/avs/avs.ko' ist vorhanden.insmod: cannot insert '/lib/modules/2.6.23-dbox2/extra/avs/avs.ko': No such device (-1): No such device
modprobe: failed to load module avs
[ 19.040183] lcd: init lcd driver module
[ 19.109481] lcd: found KS0713/SED153X lcd interface
beim nochmaligen Start der Dbox lief der Bootvorgang dann durch.[ 12.184801] Freeing unused kernel memory: 64k iâ–’t
init started: BusyBox v1.7.2 (2008-06-02 11:05:15 CEST)
starting pid 103, tty '': '/etc/init.d/rcS'
/bin/makedevices
Detected STB:
Vendor: Unknown
Model: D-BOX2
[ 15.921961] [i2c-8xx]: mpc 8xx i2c init
[ 15.991232] [i2c-8xx]: adapter: 0
[ 16.422196] event: $Id: event.c,v 1.12.4.3 2007/10/09 01:04:05 carjay Exp $
insmod: cannot insert '/lib/modules/2.6.23-dbox2/extra/avs/avs.ko': No such device (-1): No such device
modprobe: failed to load module avs
[ 16.912038] lcd: init lcd driver module
[ 16.981242] lcd: found KS0713/SED153X lcd interface
Ich habe keine Ahnung, woran das liegen könnte.[ 11.431626] VFS: Mounted root (squashfs filesystem) readonly.
[ 11.512362] Freeing unused kernel memory: 64k iâ–’t
init started: BusyBox v1.7.2 (2008-06-02 11:05:15 CEST)
starting pid 103, tty '': '/etc/init.d/rcS'
/bin/makedevices
[ 13.679262] Empty flash at 0x00060310 ends at 0x00062000
[ 13.741107] Empty flash at 0x00062310 ends at 0x00064000
[ 13.804542] Empty flash at 0x00064310 ends at 0x00066000
[ 13.868128] Empty flash at 0x00066310 ends at 0x00068000
[ 13.931644] Empty flash at 0x00068310 ends at 0x0006a000
[ 13.994867] Empty flash at 0x0006a310 ends at 0x0006c000
[ 14.058456] Empty flash at 0x0006c310 ends at 0x0006e000
[ 14.121717] Empty flash at 0x0006e310 ends at 0x00070000
[ 14.185155] Empty flash at 0x00070310 ends at 0x00072000
[ 14.248730] Empty flash at 0x00072310 ends at 0x00074000
[ 14.312039] Empty flash at 0x00074310 ends at 0x00076000
[ 14.375546] Empty flash at 0x00076310 ends at 0x00078000
[ 14.439594] Empty flash at 0x00078310 ends at 0x0007a000
[ 14.502358] Empty flash at 0x0007a310 ends at 0x0007c000
[ 14.565795] Empty flash at 0x0007c310 ends at 0x0007e000
[ 14.628798] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0007e30c: 0xfefe instead
Detected STB:
Vendor: Sagem
Model: D-BOX2
[ 16.258441] [i2c-8xx]: mpc 8xx i2c init
[ 16.327699] [i2c-8xx]: adapter: 0
[ 16.758660] event: $Id: event.c,v 1.12.4.3 2007/10/09 01:04:05 carjay Exp $
[ 17.248490] lcd: init lcd driver module
[ 17.317700] lcd: found KS0713/SED153X lcd interface
[ 17.727726] input: DBOX-2 FP IR as /devices/virtual/input/input0
...
Mit diesem Patch konnte ich ein funktionierendes 2.6-Image bauen:seife hat geschrieben:Die Änderungen am busybox.config.m4 sind nicht eingecheckt, weil ich davon ausging daß die, die kernel 2.6 testen wollen, das selbst schaffen
...
-option(`CONFIG_MODPROBE', `n', `n')
-option(`CONFIG_FEATURE_MODPROBE_MULTIPLE_OPTIONS', `n', `n')
+option(`CONFIG_MODPROBE', `n', `y')
+option(`CONFIG_FEATURE_MODPROBE_MULTIPLE_OPTIONS', `y', `y')
...
-option(`CONFIG_FEATURE_2_6_MODULES', `n', `n')
+option(`CONFIG_FEATURE_2_6_MODULES', `n', `y')
...
was soll Das hier bewirken? busybox.config.m4 unterscheidet noch nicht zwischen 2.4 und 2.6+if KERNEL26
+POSSIBLY_KERNEL26=-Dkernel26
+endif
$(DEPDIR)/busybox: bootstrap @DEPENDS_busybox@ Patches/busybox.config.m4 Patches/busybox.diff
@PREPARE_busybox@
- m4 -Dyadd $(POSSIBLY_IDE) $(POSSIBLY_EXT3) -DPREFIX="\"$(targetprefix)\"" Patches/busybox.config.m4 > @DIR_busybox@/.config
+ m4 -Dyadd $(POSSIBLY_IDE) $(POSSIBLY_EXT3) $(POSSIBLY_KERNEL26) -DPREFIX="\"$(targetprefix)\"" Patches/busybox.config.m4 > @DIR_busybox@/.config
cd @DIR_busybox@ && \
$(MAKE) all install \
CROSS_COMPILE=$(target)- \
@@ -20,7 +23,7 @@
In meinem Patch schonmohousch hat geschrieben:was soll Das hier bewirken? busybox.config.m4 unterscheidet noch nicht zwischen 2.4 und 2.6
Code: Alles auswählen
+ifdef(`kernel26',
Danach taucht das Problem nicht mehr auf.[ 12.147524] Freeing unused kernel memory: 64k iâ–’t
init started: BusyBox v1.7.2 (2008-06-02 12:38:08 CEST)
starting pid 103, tty '': '/etc/init.d/rcS'
/bin/makedevices
[ 14.318894] Empty flash at 0x00060a68 ends at 0x00062000
[ 14.382183] Empty flash at 0x00062a68 ends at 0x00064000
[ 14.445692] Empty flash at 0x00064a68 ends at 0x00066000
[ 14.509214] Empty flash at 0x00066a68 ends at 0x00068000
[ 14.572442] Empty flash at 0x00068a68 ends at 0x0006a000
[ 14.636013] Empty flash at 0x0006aa68 ends at 0x0006c000
[ 14.698928] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0006ca64: 0xc0c0 instead
[ 14.803508] Empty flash at 0x0006ca68 ends at 0x0006e000
[ 14.868922] Empty flash at 0x0006ea64 ends at 0x00070000
[ 14.932274] Empty flash at 0x00070a64 ends at 0x00072000
[ 14.996453] Empty flash at 0x00072a64 ends at 0x00074000
[ 15.059154] Empty flash at 0x00074a64 ends at 0x00076000
[ 15.122593] Empty flash at 0x00076a64 ends at 0x00078000
[ 15.186170] Empty flash at 0x00078a64 ends at 0x0007a000
[ 15.249475] Empty flash at 0x0007aa64 ends at 0x0007c000
[ 15.312914] Empty flash at 0x0007ca64 ends at 0x0007e000
Detected STB:
Vendor: Sagem
Model: D-BOX2
[ 16.906046] [i2c-8xx]: mpc 8xx i2c init
[ 16.975302] [i2c-8xx]: adapter: 0
[ 17.406269] event: $Id: event.c,v 1.12.4.3 2007/10/09 01:04:05 carjay Exp $
mohousch hat geschrieben:was sagt "cat /proc/mtd"?
sieht so aus als in deiner Partitions einen Flash-Sector leer bleibt...
Code: Alles auswählen
BusyBox v1.7.2 (2008-06-02 13:54:53 CEST) built-in shell (ash)
Enter 'help' for a list of built-in commands.
~ # cat /proc/mtd
dev: size erasesize name
mtd0: 00020000 00004000 "BR bootloader"
mtd1: 00020000 00020000 "FLFS (U-Boot)"
mtd2: 00660000 00020000 "root (squashfs)"
mtd3: 00160000 00020000 "var (JFFS2)"
mtd4: 007e0000 00020000 "Flash without bootloader"
mtd5: 00800000 00020000 "Complete Flash"
~ # uname -a
Linux dbox 2.6.23-dbox2 #1 PREEMPT Mon Jun 2 13:52:23 CEST 2008 ppc unknown
Code: Alles auswählen
BusyBox v1.7.2 (2008-06-02 15:35:04 CEST) built-in shell (ash)
Enter 'help' for a list of built-in commands.
~ # cat /proc/mtd
dev: size erasesize name
mtd0: 00020000 00004000 "BR bootloader"
mtd1: 00020000 00020000 "FLFS (U-Boot)"
mtd2: 005a0000 00020000 "root (squashfs)"
mtd3: 00220000 00020000 "var (jffs2)"
mtd4: 007e0000 00020000 "Flash without bootloader"
mtd5: 00800000 00020000 "Complete Flash"
~ # uname -a
Linux dbox 2.4.36.2-dbox2 #1 Mo 2. Jun 15:29:42 CEST 2008 ppc unknown