Seite 1 von 2

mini flashen

Verfasst: Do 15. Mär 2012, 16:38
von halloworld
hab im moment stm22 im flash
und wollte mal stm24 von mini1 auf der hdd testen

wie flashe ich es in mini1?
mein mount

Code: Alles auswählen

ufs910:~# mount
rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro)
proc on /proc type proc (rw)
/dev/mtdblock3 on /var type jffs2 (rw,noatime,nodiratime)
/dev/mtdblock3 on /etc type jffs2 (rw,noatime,nodiratime)
sysfs on /sys type sysfs (rw)
tmpfs on /ram type tmpfs (rw)
/dev/root on /dev.static type squashfs (ro)
tmpfs on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw)
tmpfs on /dev/shm type tmpfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
tmpfs on /tmp type tmpfs (rw)
/dev/sda1 on /swap type ext2 (rw,noatime,nodiratime)
/dev/sda1 on /var/epg type ext2 (rw,noatime,nodiratime)
/dev/sda1 on /usr/local/share/neutrino/icons/logo type ext2 (rw,noatime,nodiratime)
/dev/sda1 on /var/emu type ext2 (rw,noatime,nodiratime)
/dev/sda1 on /var/keys type ext2 (rw,noatime,nodiratime)
/dev/sda2 on /tmp/mnt/MINI1 type ext2 (rw,noatime,nodiratime)
/dev/sda3 on /tmp/mnt/MINI2 type ext2 (rw,noatime,nodiratime)
/dev/sda4 on /hdd type ext2 (rw,noatime,nodiratime)
gruss

Re: mini flashen

Verfasst: Do 15. Mär 2012, 16:53
von BPanther
Steht doch im Wiki wie man ein Image auf den Stick installiert, z.B. HIER.

Re: mini flashen

Verfasst: Do 15. Mär 2012, 17:18
von DboxOldie
halloworld hat geschrieben:und wollte mal stm24 von mini1 auf der hdd testen
Deinen "mounts" nach ist ja die MINI1 auf HDD, interne Sata ?
Soweit kein Problem, nur könnte sein das die Bootargs für MINI1 angepasst werden müssen, da dort meistens der Speed Boot drinsteht.

Re: mini flashen

Verfasst: Do 15. Mär 2012, 17:37
von Gismotro
und in den Bootargetz anstatt usb ide eintragen ........ :rollsmile:
bootcmd_9 = usb reset;ext2load usb 0:2 a5000000 /boot/uImage;run bootargs_9;bootm a5000000
bootcmd_9 = ide reset;ext2load ide 0:2 a5000000 /boot/uImage;run bootargs_9;bootm a5000000

Re: mini flashen

Verfasst: Do 15. Mär 2012, 18:54
von halloworld
wo finde ich den die bootargs auf der mini1 partition gibt es keine datei mit den bootargs
müssten doch normal im root sein oder?

Re: mini flashen

Verfasst: Do 15. Mär 2012, 19:03
von DboxOldie
Die Bootargs stehen in einem extra Bereich im Flash, kannst Du mit dem BAE (Bootargs Editor) editieren.
Zum anschauen in Telnet einfach : fw_printenv eingeben

Re: mini flashen

Verfasst: Do 15. Mär 2012, 19:05
von halloworld
ist klar werden dann aber nicht die args vom flash image verändert?
weil das will ich ja so behalten wie es ist
nur zusätzlich auf mini1 stm24 installieren
in flash ist stm22

gruss

Re: mini flashen

Verfasst: Do 15. Mär 2012, 19:07
von Cent
Hast du MINI oder MAXI auf der Box im Flash?
Wenn, dann gibt es dort in den Bootargs Einträge für den Flashbereich und für die USB/HDD-Bereiche...

Siehe auch WIKI

Re: mini flashen

Verfasst: Do 15. Mär 2012, 19:18
von DboxOldie
halloworld hat geschrieben:ist klar werden dann aber nicht die args vom flash image verändert?
Nein die Images verändern die Bootargs nicht die lesen die nur: Flash liest die args_0, USB dann je nach Partition einen anderen Satz.
Die Bootargs verändern: das kann man selber nach Bedarf mit BAE (Bootargs Editor).
Allerdings der MPI (Multipart Installer) sowie auch die E2 Images können in den Bootargs rumfummeln.

Re: mini flashen

Verfasst: Do 15. Mär 2012, 20:14
von halloworld
das sind meine args
boot_param_version=11

board=stb7100ref_27
bootcmd=bootm a0040000
bootdelay=1
autoload=n
stdin=serial
stdout=serial
stderr=serial
bootargs=console=ttyAS0,115200 root=/dev/mtdblock3 mem=36m bigphysarea=1280 coprocessor_mem=2m@0x04000000,2m@0x04200000
bootcmd_0=bootm a0040000
ipaddr=192.168.178.54
gatewayip=192.168.178.1
serverip=192.168.178.132
netmask=255.255.255.0
ethaddr=00:50:fd:ff:00:2c

hab mini
nd mehr steht da nicht drin

Re: mini flashen

Verfasst: Do 15. Mär 2012, 20:22
von BPanther
Dann hast Du zwar vielleicht MINI installiert, aber nie den 2. Schritt gemacht, nämlich die Defaults zu setzen (siehe Recovery Tool).

Re: mini flashen

Verfasst: Do 15. Mär 2012, 20:23
von Frankenstone
Wenn das deine args sind. Dann kann von usb nichts starten. Denn die Einträge für Usb fehlen.
Ganz sicher das nur mini uboot darauf ist? Sieht eher aus wie maxi uboot.

Code: Alles auswählen

bootcmd=bootm a0040000

Re: mini flashen

Verfasst: Do 15. Mär 2012, 20:25
von halloworld
hab damals glaub ich mini installiert is aber schon ewig her :-( wie kann ich rausbekommen was drauf? vielleicht auch maxi?
will nicht von usb alles intern sata

habs nach dieser anleitung gemacht http://wiki.mbremer.de/index.php/Haupts ... stallieren

Re: mini flashen

Verfasst: Do 15. Mär 2012, 20:29
von BPanther
Das ist nur die Install auf dem Stick welche ein korrekt installiertes MINI/MAXI vorraussetzt - aber MINI wurde bereits unvollständig installiert. Es fehlen wie bereits geschrieben sämtliche Bootargs. Ein aktuelles MINI ist im Recovery Tool enthalten, wobei man auch gleich MAXI nehmen kann.

Re: mini flashen

Verfasst: Do 15. Mär 2012, 20:32
von halloworld
wie kann ich jetzt vorgehen damit ich alles hinbekomme?
das laufende image irgendwie sichern
dann maxi drauf und image wieder im flash installieren

oder nur maxi?