[U-Boot-Users] How to use tftp to book kernel image and mount remote root fs

Wolfgang Denk
2008-05-13T06:07:32Z

Dear Steven,

in message <ed4892840805121852t46d4c4d0rd52a9eb129121f7b@mail.gmail.com> you wrote:
>
> Q1:
>
> Both 5.9.5.1 ( http://www.denx.de/wiki/view/DULG/UBootCmdGroupDownload#Section_5.9.5.1.
> ) and 5.9.5.6 (
> http://www.denx.de/wiki/view/DULG/UBootCmdGroupDownload#Section_5.9.5.6.
> ) talk about booting image via network, but there are only few lines
> of description about these commands. I don't know which one I should
> use, tftpboot or bootp? And, for each one, what's the requirement on

That depends on what you want to do. Do you understand the differecne
between TFTP and BOOTP (resp. DHCP) protocols?

> server side? I've done works described in 4.6, 4.7, 4.8 to setup the
> server, but I don't sure which one ( tftp, dhcp, nfs ) will really be
> used.

You can use any of these, depending on what you want to do.

If in doubt, just follow the detailed instructions in section
"7. Booting Embedded Linux".

> Q2:
>
> in 9.6.3 ( Root File System on a cramfs File System ), the manual
> taught how to make a root filesystem image (cramfs), but in the
> installation ISO, i dont find necessary files rootfs.tar.gz and
> devices.tar.gz mentioned in the instructions. Where should I get

Please re-read section "9.6. Root File System: Design and Building";
it contains a detailed step-by-step instruction.

Best regards,

Wolfgang Denk

--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Too many people are ready to carry the stool when the piano needs to
be moved.