YAMON

YAMON è il PROM monitor fornito da MIPS technologies, ed adottato da SIGMA per la propria piattaforma.

Sul STB è presente una versione modificata da Pirelli, che ha aggiunto alcune funzioni per utilizzare YAMON come secure bootloader: prima di bootare un binario, verifica che sia firmato con una chiave privata Pirelli; questo significa che non è possibile far caricare una partizione flash non firmata.

Probabilmente è possibile sostituire la versione modificata, presente sull'HY100, con una standard, ad esempio questa versione.

Questa è la lista dei comandi disponibili una volta ottenuto l'accesso al prompt.

Available commands :

.           . (repeat last command line)
;           ; (command separator)
+           + <repeat count> ;
bootmgr     bootmgr [ --net-init ]
					[ --check-rom-kernel-sig ]
					[ --check-ram-kernel-sig [-a image_addr] [-is image size]]
					[ --dhcpc [-s] ]
					[ --mclient [-g group_ip] [-p port] [-f file_type] [-t timeout] ]
					[ --write-image ]
					[ --start-kernel [-a load_addr] ] |
					[ --all ] |
					[ -bt <boot_process_type> [-st <signature_type>] ] |
					[ --version ]
cache       cache [ <value> | off | on | wb | wt | wtall ]
cksum       cksum <address> <size>
compare     compare <address1> <address2> <size>
copy        copy [-f] <src> <dst> <size>
cp0         cp0 [ (<name> | ([-<0..7>] <regnum>)) [<value>] ]
dhcpc       dhcpc [OPTIONS...]
dis         dis [-m] [-16] <address> [<count>]
disk        disk [-f] (id [hda|hdb] )|
				 (read|readdma  hda|hdb <sector> <count> <addr>)|
				 (write|writedma hda|hdb <sector> <count> <addr>)|
				 (readpart|writepart hda|hdb <part> <subpart> <count> <addr>)|
				 (writeimg hda|hdb <part> <subpart> <length> <addr>)|
				 (set isa|bm)|
				 (perf hda|hdb <all-sector> <sectors/DMA> [<addr>])|
				 (test pio|dmaread|dmawrite|irq)
displaypic  displaypic [OPTIONS...]
draw        draw start_bitmap x y x_len y_len colore

dump        dump [-m][-8|-16|-32] <address> [<size>] |
				 romfs <start_addr>
echo        echo <data>
edit        edit [-8|-16|-32] <address>
erase       erase -e | <address> <size>
fill        fill [-8|-16|-32] <address> <size> <data>
flush       flush [-i|-d]
fpu         fpu [on|off] [emul [on|off|stat|clear]] [fs [on|off]] [fr [on|off]]
fread       fread  tftp://<ipaddr>/<filename> <address>
fwrite      fwrite tftp://<ipaddr>/<filename> <address> <size>
gdb         gdb [-v][-c] [. <args>]
go          go [?|.|<address> [<args>]]
gr16        gr16 <gbus-address>
gr32        gr32 <gbus-address>
gr8         gr8 <gbus-address>
gw16        gw16 <gbus-address> <data>
gw32        gw32 <gbus-address> <data>
gw8         gw8 <gbus-address> <data>
help        help [<command>]
ledctrl     ledctrl [OPTION... ]
load        load (uu [-z] <address>) |
				 (romfs [-z] <romfsaddr> <filename> [<loadaddr>]) |
				 (zbf <address> [<loadaddr>]) |
				 [-r] (-b tftp://<ipaddr>/<filename(bin)> <loadaddr>) |
					  (tftp://<ipaddr>/<filename(srec)>)
				 (asc:[//(tty0|tty1)])
mclient     mclient [OPTIONS...]
mmcontrol   mmcontrol [OPTIONS...]
net         net (init | initpci )
				( up )|
				( down )
pcicfg      pcicfg [-8|-16|-32] ([-r] <bus> <dev> <func> <addr> [<range>]) |
								( -w  <bus> <dev> <func> <addr> <val>) |
				   (init | disp ) --mambo host
				   (dmawrite | dmaread) -- PC host

pflash      pflash (probe [<bus_width>] [<gbus_addr>]) |
				   (write [-f] <flash offs addr> <ram addr> <length>) |
				   (erase <flash offs addr> <length>) |
				   (eraseall)
ping        ping ipaddr [<datagramsize>]
port        port [-a] [-8|-16|-32] <address> [<value>]
scpu        scpu ( [-i|-d|-m]+ [-a|-u|(-r|-p)+] ) |
				 ( (-i|-d) <bpw> [<assoc>] [-p] ) |
				 ( (-i|-d) <assoc> [<bpw>] [-p] ) |
				 ( (tlb|fixed) [-p]             )
search      search [-asc|-hex] <address> <size> <string>
setenv      setenv [<variable> [<value>]]
setxenv     setxenv [-b] [<key> [<value>]]
sleep       sleep <ms>
string_display  string_display start_bitmap x y string
						0_color 1_color scale

stty        stty [-tty<0|1>] [-b|-u|[-p][<baudrate>][n|o|e][7|8][1|2][hw|none]]
test        test [-m] [ <module> [ <module arguments> ] ]
tlb         tlb ( -i [-s] ) | ( <index> <pagesize> <va> <g> <asid>
								<pa0> <c0> <d0> <v0>
								<pa1> <c1> <d1> <v1> )
unsetenv    unsetenv  <variable> | (-u|-s)
unsetxenv   unsetxenv <key>
videoctrl   videoctrl <register number> <value>
watch       watch s/l/i address
xrpc        xrpc <xrpc.bin address>
				 -v | -s | -r

Credits: mce2222, Roleo su Ilpuntotecnicoeadsl Forum

yamon.txt · Ultima modifica: 2010/05/08 12:27 da 83.211.179.90
CC Attribution-Noncommercial-Share Alike 3.0 Unported chimeric.de = chi`s home Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0