Code: Alles auswählen
debug: DDF: Calibrating delay loop... debug: DDF: 66.76 BogoMIPS
debug: BMon V1.2 mID 03
debug: feID 00 enxID 03
debug: fpID 52 dsID 01-d2.ed.8a.07.00.00-19
debug: HWrev 21 FPrev 0.23
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/sagem-dbox2/kernel/os in Flash-FS
debug: Got Block #0036
will verify ELF image, start= 0x800000, size= 145940
verify sig: 262
Branching to 0x40000
U-Boot 0.4.0 (TuxBox) (Sep 13 2003 - 14:11:03)
CPU: PPC823ZTnnB2 at 66 MHz: 2 kB I-Cache 1 kB D-Cache
Board: DBOX2, Sagem
Watchdog enabled
I2C: ready
DRAM: 32 MB
FLASH: 8 MB
Scanning JFFS2 FS: . done.
FB: ready
LCD: ready
In: serial
Out: serial
Err: serial
Net: SCC ETHERNET
Options:
1: console on ttyS0
2: console on fb0
3: console on null
Select option (1-3), other keys to stop autoboot: 0
..............................................................
Un-Protected 62 sectors
### FS (cramfs) loading 'vmlinuz' to 0x100000
cramfs: wrong magic
### FS LOAD ERROR<-1> for vmlinuz!
## Booting image at 00100000 ...
Bad Magic Number
=>
Hier meine dbox.h:
Code: Alles auswählen
/*
#define CONFIG_BOOTCOMMAND \
"dhcp; tftp \"$(bootfile)\"; " \
"protect off 10040000 107fffff; " \
"setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath) " \
"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off " \
"console=$(console); " \
"bootm"
*/
#define CONFIG_BOOTCOMMAND \
"protect off 10040000 107fffff; " \
"fsload; setenv bootargs root=/dev/mtdblock2 console=$(console); " \
"bootm"
..........
..........
#define CONFIG_FS ( CFG_FS_CRAMFS | CFG_FS_JFFS2 )
#define CFG_FS_PART0_TYPE CFG_FS_CRAMFS
#define CFG_FS_PART0_OFFSET 0x10040000
#define CFG_FS_PART0_SIZE 0x6c0000
#define CFG_FS_PART1_TYPE CFG_FS_JFFS2
#define CFG_FS_PART1_OFFSET 0x106e0000
#define CFG_FS_PART1_SIZE 0x100000
#define CONFIG_DBOX2_ENV_READ_FS "1:tuxbox/boot/ppcboot.conf"
#define CONFIG_TUXBOX_NETWORK 1
#ifdef CONFIG_LCD_BOARD
#define CONFIG_DBOX2_LCD_INFO 1
#define CONFIG_DBOX2_LCD_LOGO 1
#define CONFIG_DBOX2_LCD_LOGO_FS "1:tuxbox/boot/logo-lcd"
#define CONFIG_DBOX2_LCD_LOGO_TFTP "logo-lcd"
#define CONFIG_DBOX2_LCD_LOGO_RESERVE 2
#undef CONFIG_DBOX2_LCD_FONT8x16
#endif /* CONFIG_LCD_BOARD */
#ifdef CONFIG_DBOX2_FB
#define CONFIG_DBOX2_FB_LOGO 1
#define CONFIG_DBOX2_FB_LOGO_FS "1:tuxbox/boot/logo-fb"
#define CONFIG_DBOX2_FB_LOGO_TFTP "logo-fb"
#endif /* CONFIG_DBOX2_FB */
Code: Alles auswählen
my %partdef =
(
0 => [ "ppcboot", 0, 0x20000 ],
1 => [ "root", 0x20000, 0x6c0000 ],
2 => [ "var", 0x6e0000, 0x100000 ],
);
Code: Alles auswählen
static struct mtd_partition partition_info[]= {{name: "BR bootloader", // raw
size: 128 * 1024,
offset: 0,
mask_flags: MTD_WRITEABLE},
{name: "flfs (ppcboot)",
size: 128 * 1024,
offset: MTDPART_OFS_APPEND,
mask_flags: 0},
{name: "root (cramfs)",
size: 6912 * 1024,
offset: MTDPART_OFS_APPEND,
mask_flags: 0},
{name: "var (jffs2)",
size: 1024 * 1024,
offset: MTDPART_OFS_APPEND,
mask_flags: 0},
{name: "flash without bootloader",
size: MTDPART_SIZ_FULL,
offset: 128 * 1024,
mask_flags: 0},
{name: "complete flash",
size: MTDPART_SIZ_FULL,
offset: 0,
mask_flags: MTD_WRITEABLE}};
Gruss Herbert