Falls ich die neue u-boot Version einchecken sollte gibts wahrscheinlich auch das m4 File dazu.
Wenns wer anderes eincheckt möglicherweise nicht
![smile :-)](./images/smilies/icon_smile.gif)
Code: Alles auswählen
common/libcommon.a(cmd_nvedit.o): In function `do_saveenv':
/home/m/tuxbox_1x_26/tuxbox-cvs/cdk/u-boot-1.3.1/common/cmd_nvedit.c:565: undefined reference to `saveenv'
common/libcommon.a(cmd_nvedit.o):(.got2+0x68): undefined reference to `env_name_spec'
Das meine ich: make yadd-neutrino-jffs2-1x. Und das kriege ich nicht zum Bauen...Houdini hat geschrieben:was meinst du mit yadd?
-jffs2-1x.
Das macht ybuild so. Müsste man mal yjogol fragen...mohousch hat geschrieben:wofür das-jffs2-1x.
danke ersmal für die antwort.also ich mache garantiert aus dem m4 file nicht wieder die alten config files.
Code: Alles auswählen
Options:
1: Console on null
2: Console on ttyS0
3: Console on framebuffer
Select option (1-3), other keys to stop autoboot: 0
Unknown command 'ext2load' - try 'help'
## Booting image at 00200000 ...
u-boot: Bad Magic Number *** THIS IS NOT THE FAMOUS dbox2 'Bad Magic' ***
=>
Code: Alles auswählen
#if (UBOOT_TYPE == UBOOT_TYPE_IDE)
#define CONFIG_CMD_IDE /* IDE support */
#define CONFIG_CMD_EXT2 /* EXT2 Support */
#endif
Nicht wundern wegen 0:3. Ich habe das auf die dritte Partition verlegen müssen, da die ersten beiden belegt sind.1: Console on null
2: Console on ttyS0
3: Console on framebuffer
Select option (1-3), other keys to stop autoboot: 0
Failed to mount ext2 filesystem...
** Bad ext2 partition or disk - ide 0:3 **
## Booting image at 00200000 ...
u-boot: Bad Magic Number *** THIS IS NOT THE FAMOUS dbox2 'Bad Magic' ***
/dev/ide/host0/bus0/target0/lun0/part3 on /hddpart3 type ext2 (rw)
Code: Alles auswählen
#define CONFIG_BOOTCOMMAND \
"setenv bootargs root=/dev/ide/host0/bus0/target0/lun0/part3 " \
"rw rootfstype=ext2 " \
"console=$(console),$(baudrate) idebus=66; " \
"ext2load ide 0:3 200000 vmlinuz; " \
"bootm 200000"
ansonsten sagt bad ext2 partition denke ich, das irgend was an deiner ext2 partition nicht stimmtu-boot: Bad Magic Number *** THIS IS NOT THE FAMOUS dbox2 'Bad Magic' ***
Code: Alles auswählen
cfdisk 2.12r
Disk Drive: /dev/ide/host0/bus0/target0/lun0/disc
Size: 250059350016 bytes, 250.0 GB
Heads: 255 Sectors per Track: 63 Cylinders: 30401
Name Flags Part Type FS Type [Label] Size (MB)
--------------------------------------------------------------------------------------------
disc1 NC Primary Linux swap / Solaris 139.83
disc2 Primary Linux XFS 199463.04
disc3 Primary Linux ext2 48241.27
disc4 Primary Linux XFS 2097.45
Code: Alles auswählen
+#ifdef CONFIG_DBOX2_LCD_INFO
+ #ifndef DBOXFLASHER
+ lcd_puts ("\n\nloading kernel");
+ #else /* DBOXFLASHER */
+ lcd_puts ("\n\nflashing image");
+ #endif /* DBOXFLASHER */
+#endif /* CONFIG_DBOX2_LCD_INFO */
+
Code: Alles auswählen
--- u-boot-1.3.1.diff1-houdini 2008-01-30 17:57:22.000000000 +0100
+++ u-boot-1.3.1.diff2-mb407 2008-01-30 17:57:34.000000000 +0100
@@ -243,7 +243,7 @@
abort = 1; /* don't auto boot */
}
}
-@@ -241,23 +277,72 @@
+@@ -241,28 +277,85 @@
/* delay 100 * 10ms */
for (i=0; !abort && i<100; ++i) {
if (tstc()) { /* we got a key press */
@@ -317,9 +317,7 @@
#ifdef CONFIG_SILENT_CONSOLE
if (abort)
gd->flags &= ~GD_FLG_SILENT;
-@@ -347,6 +432,14 @@
- int prev = disable_ctrlc(1); /* disable Control C checking */
- # endif
+ #endif
+#ifdef CONFIG_DBOX2_LCD_INFO
+ #ifndef DBOXFLASHER
@@ -329,9 +327,9 @@
+ #endif /* DBOXFLASHER */
+#endif /* CONFIG_DBOX2_LCD_INFO */
+
- # ifndef CFG_HUSH_PARSER
- run_command (p, 0);
- # else
+ return abort;
+ }
+ # endif /* CONFIG_AUTOBOOT_KEYED */
diff -Naur u-boot-1.3.1/common/Makefile u-boot-1.3.1-tuxbox/common/Makefile
--- u-boot-1.3.1/common/Makefile 2007-12-06 10:21:19.000000000 +0100
+++ u-boot-1.3.1-tuxbox/common/Makefile 2007-12-18 23:45:45.000000000 +0100
@@ -930,10 +928,10 @@
$(obj)mpc86x_clk.o: $(src)mpc86x_clk.c
$(CC) -g $(CFLAGS) -c -o $@ $<
-diff -rup u-boot-1.2.0/common/cmd_nvedit.c u-boot-1.2.0-dbox2/common/cmd_nvedit.c
---- u-boot-1.2.0/common/cmd_nvedit.c 2007-12-17 01:43:07.000000000 +0100
-+++ u-boot-1.2.0-dbox2/common/cmd_nvedit.c 2007-12-19 11:39:30.000000000 +0100
-@@ -159,6 +159,7 @@ int _do_setenv (int flag, int argc, char
+diff -Naur u-boot-1.3.1/common/cmd_nvedit.c u-boot-1.3.1-tuxbox/common/cmd_nvedit.c
+--- u-boot-1.3.1_org/common/cmd_nvedit.c 2007-12-06 10:21:19.000000000 +0100
++++ u-boot-1.3.1/common/cmd_nvedit.c 2008-01-27 20:34:49.000000000 +0100
+@@ -160,6 +160,7 @@
uchar *env, *nxt = NULL;
char *name;
bd_t *bd = gd->bd;
@@ -941,7 +939,7 @@
uchar *env_data = env_get_addr(0);
-@@ -167,6 +168,16 @@ int _do_setenv (int flag, int argc, char
+@@ -168,6 +169,17 @@
name = argv[1];
@@ -955,10 +953,11 @@
+ strcpy(name, "baudrate");
+ }
+
++
if (strchr(name, '=')) {
printf ("## Error: illegal character '=' in variable name \"%s\"\n", name);
return 1;
-@@ -244,8 +255,9 @@ int _do_setenv (int flag, int argc, char
+@@ -250,8 +262,9 @@
baudrate);
return 1;
}
@@ -970,7 +969,7 @@
udelay(50000);
gd->baudrate = baudrate;
#if defined(CONFIG_PPC) || defined(CONFIG_MCF52x2)
-@@ -254,9 +266,11 @@ int _do_setenv (int flag, int argc, char
+@@ -260,9 +273,11 @@
serial_setbrg ();
udelay(50000);
musst den erst durch mkflfs jagen, damit du das flashen kannst.flasher hat geschrieben:Hi
Danke, aber jetzt bin ich etwas verwirrt.
Die U-Boots sind doch idR 128K gross. Zumindest die die bei mir immer rauskommen. Das Ding 164K.
Wo kommt das denn hin? Kann ich das normal flashen?
Flashanzahl 1x oder 2x ist ja wohl uninterresant wenn man von HDD booten will.
Ich habs jetzt einfach mal draufgehauen. Im Updatemenü einzelne Partitionen einspielen. (U-Boot).
Neu gestartet = KEIN SYSTEM im Display
Gruß
Code: Alles auswählen
1: Console on null
2: Console on ttyS0
3: Console on framebuffer
Select option (1-3), other keys to stop autoboot: 0
Failed to mount ext2 filesystem...
** Bad ext2 partition or disk - ide 0:3 **
## Booting image at 00200000 ...
u-boot: Bad Magic Number *** THIS IS NOT THE FAMOUS dbox2 'Bad Magic' ***
=>
Das muss einem ja auch mal gesagt werdengurgel hat geschrieben:Uboot erkennt Platten doch nur bis 127GB, liegt es vielleicht daran, dass deine Partiotion jenseits davon liegt?