hi still working on net-kexec-bootloader it has a bit of "environment", you can add/remove/edit a vars it has a "tiny shell" with line input and a tinier parser for tokens (which are passed as "argc, *argv[]" to all the "cmd" it has) it has a client for file transfer on tcp/ip socket it has a server for remote shell controll and it's pretty able to receive a kernel (and any supporting file) from a tcp/ip socket and it's able to kexec it it's only 60K dynamic compiled ... it need uclibc or (the fat) glibc
i will add * better client/server file transfer protocol (what i am using now has not a pretty parser, also it has an ugly protocol) * better uart console support (with srec download and dump) * may be .... a gnu debugger GDB ... i will try to embedded it * ttftp server auto find (better portscanning) about vars it has 2 special kind, which are automatically evaluated env.net_mac="00:30:65:6a:ab:a6" env.cmdline="console=ttyS0,9600 root=/dev/hda3,ro fstype=ext3" cmdline is filled with all you have specified in env.{console, root, fstype} [ .k.a.n.o.j.o. ] kexec boot loader v01.2, 2010-01-28 # help kanojo: in Japanese to refer to the female 3rd person help..... - hope it can help cmdlist.. - list of all available cmds ls....... - list of all available cmds ver...... - show the version macaddr.. - get the lan's mac address tcpscan.. - look an IP for listening tpc/ip server ifconfig. - configure lan ip/netmask endian... - test the endianess ping..... - ping ttftp.... - tini tx file protocol, it's not tftp exec..... - execute a local binary cmdline.. - cmdline which will be passed to kernel env...... - show all the environment entries printenv. - show all the environment entries saveenv.. - save all the environment setenv... - edit/create and environment entry kload.... - Load the new kernel into ram kunload.. - Unload the current kexec target kernel kjump.... - jump into the currently loaded kernel reboot... - force a reboot exit..... - force an exit # env env.machinename="akita" env.console="ttyS0,9600" env.root="/dev/hda3,ro" env.fstype="ext3" env.ttftp_server_ip="192.168.1.14" env.ttftp_server_port="2001" env.rmshell_port="2002" env.boot="net" env.bootfile="alita--kernel-2.6.23-ramrootfs.img" env.bootdelay="5s" env.bootautostart="no" env.net="ttftp $ttfpt_server_ip $ttftp_server_port $bootfile" env.net_dev="eth0" env.net_ip="192.168.1.11" env.net_mask="255.255.255.0" env.net_mac="00:30:65:6a:ab:a6" env.cmdline="console=ttyS0,9600 root=/dev/hda3,ro fstype=ext3" _______________________________________________ Zaurus-devel mailing list Zaurus-devel@lists.linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/zaurus-devel