Hallo thomas Installier DigiEL4.2 nfs und tftp einrichten !!!! Lege dein Projekt an. Über minicom kannst du einige Variablen im U-Boot setzen Ich mach bei einem neuen Modul immer folgendes: Starten über tftp: #------------------------------------------ #ME9210 FIM #U-Boot 1.1.4 (Nov 21 2008 - 21:18:42) setenv ipaddr 192.168.19.7 <- die ip die das modul haben soll setenv serverip 192.168.19.200 <- die ip die der entwicklerrechner hat saveenv dboot linux tftp #------------------------------------------- falls du fertige images unter /tftpboot hast: im U-Boot: #------------------ update linux update rootfs dboot linux flash #----------------- Wenn du über flash booten möchtest must du zuerst schauen ob alle partitionen angelegt sind. kernel partition rootfs partition bei mir sieht es so aus: CME9210 # flpart Nr | Name | Start | Size | Type | FS | Flags ----------------------------------------------------------------------------- 0 | U-Boot | 0 | 192 KiB | U-Boot | | fixed 1 | NVRAM | 192 KiB | 128 KiB | NVRAM | | fixed 2 | Kernel | 320 KiB | 1280 KiB | Linux-Kernel | | 3 | RootFS-JFFS2 | 1600 KiB | 1536 KiB | Filesystem | SQUASHFS | rootfs 4 | User-JFFS2 | 3136 KiB | 960 KiB | Filesystem | JFFS2 | Commands: a) Append partition d) Delete partition m) Modify partition p) Print partition table r) Reset partition table q) Quit Cmd (? for help)> #------------------------------------------------- Ich glaube über r) Reset partition table fragt er dich dann ob du default linux aufteilng haben möchtest und legt die partitionen wie oben automatisch an gruß Harald Zitat von usenet@treutner.at:
Hallo Harald,
danke nochmal für deine Sammelbestellung!
[an die liste weils die andren digi-bezieher evt. auch interessiert]
Ich hab mich gestern gleich mit ein paar Gehversuchen betätigt, und bin entsprechend "Building first application" vorgegangen. Allerdings komm ich nur bis zum Bootloader, wenn ich das richtig verstehe. Nach dem setenv und saveenv auf DHCP soll angeblich ein "reset" genügen:
Reset the target,
Egal, wie ich das mache, (reset, reboot, kaltstart, ...), ich bleibe immer im Bootloader.
but this time do not stop the auto boot process.
Das war bei mir auch nie notwendig, egal, wie lange ich warte, da wird nix gebootet.
After some seconds, the boot loader unpacks and launches the pre-installed Linux kernel from the built-in Flash memory.
Dort scheint kein Kernel vorhanden zu sein?
Hab folgendes probiert:
CME9210 # tftpboot TFTP from server 10.0.0.2; our IP address is 10.0.0.91 Filename '/pxelinux.0'. Load address: 0x200000 Loading: # done Bytes transferred = 14146 (3742 hex)
CME9210 # dhcp BOOTP broadcast 1 DHCP client bound to address 10.0.0.91 TFTP from server 10.0.0.2; our IP address is 10.0.0.91 Filename '/pxelinux.0'. Load address: 0x200000 Loading: # done Bytes transferred = 14146 (3742 hex)
Sieht ja ganz okay aus, nur, was danach tun? Und wie automatisiert man das? Hab den Verdacht dass die Doku da nicht so ganz mit der Realität übereinstimmt, vermutlich ists sehr einfach zu lösen, aber ich möchte mir gern das durch-kombinieren ersparen...kommt das Entwickler-Modul evt. nackt daher?
lg & thx thomas
_______________________________________________ Metalab mailing list Metalab@lists.metalab.at http://lists.metalab.at/mailman/listinfo/metalab