Instructions for automating the boot process for the Netra AX1105. These instructions describe the process of modifying the kernel source code to allow the kernel to boot from the OK prompt without having to type the command line described in step 10 of the README.netra file. Before running the "make vmlinux ARCH=sparc64" command to build the kernel, edit the following file in the Linux source tree: arch/sparc64/kernel/setup.c Go to line 452. There is a function called setup_arch that should look like the following for the first few lines: void __init setup_arch(char **cmdline_p) { extern int serial_console; /* in console.c, of course */ unsigned long highest_paddr; int i; /* Initialize PROM console and command line. */ *cmdline_p = prom_getbootargs(); strcpy(saved_command_line, *cmdline_p); #ifdef CONFIG_DUMMY_CONSOLE conswitchp = &dummy_con; #elif defined(CONFIG_PROM_CONSOLE) conswitchp = &prom_con; #endif At line 460 insert the following lines: strcpy(saved_command_line, "root=/dev/nfs rw nfsroot=10.1.36.32:/opt/lineo-BDK/NETRA-1105/images/image.sparc/root,port=2049 ip=10.1.36.63:10.1.36.32::255.255.240.0:embedix:eth1:off init=/sbin/init"); strcpy(*cmdline_p, saved_command_line); printk("ARCH: SUN4U\n"); The file should look like the following when you have made the modifications: void __init setup_arch(char **cmdline_p) { extern int serial_console; /* in console.c, of course */ unsigned long highest_paddr; int i; /* Initialize PROM console and command line. */ *cmdline_p = prom_getbootargs(); strcpy(saved_command_line, *cmdline_p); strcpy(saved_command_line, "root=/dev/nfs rw nfsroot=10.1.36.32:/opt/lineo-BDK/NETRA-1105/images/image.sparc/root,port=2049 ip=10.1.36.63:10.1.36.32::255.255.240.0:embedix:eth1:off init=/sbin/init"); strcpy(*cmdline_p, saved_command_line); printk("ARCH: SUN4U\n"); #ifdef CONFIG_DUMMY_CONSOLE conswitchp = &dummy_con; #elif defined(CONFIG_PROM_CONSOLE) conswitchp = &prom_con; #endif Note that the values you put in the command will depend on your network configuration. See the README.netra file for details on how to find out what to use as parameters. They should match what you would have typed in step #10 of the README.netra file. Save the file and then follow the instructions in the README.netra file to complete the build/deploy process. When you get to step #10 you will only have to type "boot net" at the OK prompt instead of the long command detailed in step #10.