[U-Boot] Trouble configuring DHCP vs. BOOTP

Michael Binder mbinder at accriva.com
Tue Sep 15 01:51:12 CEST 2015


Hi,

I am brand new to U-Boot, sorry for what may be basic questions.

I am also new to my company - 2 months.
I am an experienced embedded C/C++ developer.
I have never worked with Android.
I have some network experience, like configuring my home system, etc.
I have some experience with Linux/Unix, but I am finding out how little I know very quickly.

We have a custom board based on Freescale Sabre.
Boot log shows these lines at the beginning.
U-Boot 2009.08-00698-g76526a0-dirty (Aug 18 2015 - 19:42:57)
CPU: Freescale i.MX6 family TO1.2 at 792 MHz

Boots up fine normally from flash memory.

I can:

1)      reflash via FASTBOOT over USB. Need to flash system.img, boot.img and recovery.img individually using:

fastboot flash boot C:\Projects\Data\Kernel_Binaries\boot.img

                fastboot flash boot C:\Projects\Data\Kernel_Binaries\recovery.img

fastboot flash boot C:\Projects\Data\Kernel_Binaries\system.img

Then reboot manually

2)      TFTP from my local PC TFTP server, which is "TFTPd64", if I set a static ipaddr, serverip, netmask, etc.

3)      DHCP load from my local PC if I disconnect from the company network and turn on DHCP in the TFTP server. Still need to set serverip. I think TFTPd64 must handle BOOTP.

I cannot:

1)      get DHCP from company network. Appears BOOTP is used and our network is not configured to use BOOTP and I cannot change that.

2)      get the loaded files to run/boot after loading. I am loading uImage. Seems like a partial boot. Something is missing or different.

3)      set needed IP addresses using DHCP.

4)      Find server without setting serverip manually.

What I want to do:

1)      Connect Ethernet cable to device.

2)      Device cold boots and from U-Boot uses DHCP (not BOOTP) to get network information - good ip, netmask, server ip

3)      Device checks server for a new file(s) and loads them if found. Flashes new files to memory, so reboot will be new version.

4)      Boots from flash. Old files if no updates found or new files if files are found on server.

I want to be able to connect to our customer's network without making them change settings and update the SW or just boot if already updated.

Device is on line to report data over the Ethernet, so reflash cannot interfere with that.

Any help appreciated.

Michael (Mike) Binder | Staff Engineer, R&D
6260 Sequence Drive, San Diego, CA 92121
Phone: 858.263.2356 | Mobile: 858.472.4098 | FAX: 858.875.0603
Accriva is now Representing ITC and Accumetrics
[Logo-Accriva]

[computericon32]<http://accriva.com/>  [envelopeicon32] <mailto:mbinder at accriva.com>   [linkedinicon32] <http://www.linkedin.com/company/accriva-diagnostics>   [facebookicon32] <https://www.facebook.com/accriva>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 8039 bytes
Desc: image001.png
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150914/c21d215a/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 2620 bytes
Desc: image002.png
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150914/c21d215a/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 2614 bytes
Desc: image003.png
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150914/c21d215a/attachment-0007.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.png
Type: image/png
Size: 2636 bytes
Desc: image004.png
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150914/c21d215a/attachment-0008.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.png
Type: image/png
Size: 2471 bytes
Desc: image005.png
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150914/c21d215a/attachment-0009.png>


More information about the U-Boot mailing list