[Q] Booting kernel from NFS?
From: Steve Chen <hidden>
Date: 2011-03-22 12:21:10
On Tue, Mar 22, 2011 at 6:21 AM, Baurzhan Ismagulov [off-list ref] wrote:
On Sun, Mar 20, 2011 at 04:13:04PM +0800, Chen Wenjie wrote:quoted
? ? ? I am debuging some issues on an arm-arch board. now, I have to compile the whole kernel, download zImage to the target board and reboot the board again and again. Since the relations between the source files are complex, it is difficult to just write a module for insmod/rmmod. ? ? ? My question is: is there any way to boot the kernel from NFS? so we can use zImage on the host machine through an ethernet/USB cable. Then we needn't download the zImage file to the target board when we debug it. ? ? ? Is there any bootloader with this feature? Any comments? (now I use bootloader LK("Little Kernel"))U-Boot can download the kernel over TFTP.
Yes, you can use the tftp or bootp command under u-boot. Use "help <command>" for syntax. Alternatively, you can edit /etc/dhcpd.conf on the host machine and restart dhcp server to load the kernel automatically. Regards, Steve