recommended method of netbooting kernel/dtb in u-boot?

Chris Friesen chris.friesen at genband.com
Fri Apr 12 04:39:00 EST 2013


On 04/11/2013 12:12 PM, Kumar Gala wrote:
>
> On Apr 11, 2013, at 10:44 AM, Chris Friesen wrote:
>
>>
>> Hi all,
>>
>> We've got a powerpc system that uses u-boot.  In our environment on
>> bootup u-boot does a DHCP to get networking info, then uses TFTP to
>> get the kernel, which then does DHCP again and NFS-mounts the
>> initial root filesystem.
>>
>> What's the standard practice for this sort of thing when using
>> device tree blobs?  Do most people use multi-file images or do they
>> TFTP scripts to load and execute separate kernel/dtb files?
>
> We've normally just done multiple tftp fetches and one grabs dtb and
> one grabs kernel.

Do you hardcode the path to the file in the firmware?  Or do you upload 
a script that knows the path to the file?

In our case the path to the boot file(s) depends on which slot the card 
being booted has been inserted in.  The DHCP server knows what the path 
is, so it can set dhcpd.conf appropriately, but we need to get that 
information to the firmware on the card being booted.

Chris


More information about the Linuxppc-dev mailing list