[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] DHCP with petalinux-mmu-v0.10



Hi Bob,

Bob Cutler wrote:

> I am using petalinux-mmu-v0.10 built with Xilinx-Spartan3E1600-MMU-edk92.
> After configuring "Obtain IP address automatically" under system settings
> to get DHCP client support, the following error occurs when dhcpcd starts
> at the end of the Linux boot:
> 
> dhcpcd[41]: dhcpStart: socket: Address family not supported by protocol


> This is fixed by configuring "Packet socket" under "Networking options"
> in "Linux Kernel Configuration".  Can this be set automatically when
> "Obtain IP address automatically" is set?  I do not recall having to do
> this with petalinux-v0.30-rc1.

This looks like an ommission from the default configs on the MMU
platform - thanks for pointing it out.

Auto-setting a kernel option in response to a system/vendor option is
tricky - they are independent configuration domains and attempting to
couple them gets messy quickly.  One option might be to do a post-config
validation (like a DRC), and flag any inconsistencies, but for now I'll
just make sure the defaults are sensible - there's no good reason to
disable packet socket anyway.

Any other experiences (good/bad/otherwise) to report on the MMU test
release?

Thanks again,

John

___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/