[U-Boot] [PATCH v12 2/3] Add TCP

2018-06-24 Thread DH
From: Duncan Hare Currently file transfers are done using tftp or NFS both over udp. This requires a request to be sent from client (u-boot) to the boot server. The current standard is TCP with selective acknowledgment. In our testing we have reduce kernel transmission time to around 0.4

[U-Boot] [PATCH v12 3/3] Add wget application

2018-06-24 Thread DH
From: Duncan Hare Commit-notes All the code is new, and not copied from any source Test wget wget is a general purpose TCP/IP program. There is a Linux/unix version of wget, which enables server verification without running u-boot. 1. The python distribution include a simple http request

[U-Boot] [PATCH v12 1/3] Consolidating UDP header functions.

2018-06-24 Thread DH
From: Duncan Hare To make it possible to add TCP versions of the same, while reusing IP portions. This patch should not change any behavior. All references to TCP removed Used most recent version of u-boot June 22 13, 2918 Series to fix patman errors over Licensing declaration END Series-notes

[U-Boot] make Menuconfig Error

2018-06-14 Thread DH
Cloned most recent u-boot 2018.06.14 make clean works make menuconfig fails: /bin/sh: 1: bison: not found scripts/kconfig/Makefile:229: recipe for target 'scripts/kconfig/dochecklxdialog' failed make[1]: *** [scripts/kconfig/dochecklxdialog] Error 1 Makefile:491: recipe for target 'menuconfig'

[U-Boot] [PATCH v11 3/3] Add wget, for fast file transfer.

2018-05-20 Thread DH
From: Duncan Hare > Signed-off-by: Duncan Hare --- All the code is new, and not copied from any source. Changes in v11: Adding wget cmd/Kconfig| 7 + cmd/net.c | 13 ++ include/net.h | 8 +-

[U-Boot] [PATCH v11 1/3] Adding TCP and wget into u-boot

2018-05-20 Thread DH
From: Duncan Hare > Initial changes for adding TCP Meet change control standards after review Signed-off-by: Duncan Hare --- Consolidatind UDP header functions to make it easier to add TCP versions of the same, while reusing IP portions.

[U-Boot] [PATCH v11 2/3] Adding TCP

2018-05-20 Thread DH
From: Duncan Hare All the code is new, and not copied from any source. > For Multi-hop fast netwoks, (aka Long Fat networks) SACK provides continued stream teansfer without delaying the transfer for a misssing packet. Signed-off-by: Duncan Hare

[U-Boot] [PATCH v11 0/3] Why netboot:

2018-05-20 Thread DH
From: Duncan Hare Central management, including logs and change control, coupled with with enhanced security and unauthorized change detection and remediation by exposing a small attack surface. Why TCP with Selective Acknowledgement: Currently file transfer are done

[U-Boot] [PATCH v10 2/3] Adding TCP

2018-04-14 Thread DH
From: Duncan Hare All the code is new, and not copied from any source. Series-changes The previous patch was using an old version of net/Kconfig, which prevented requesting options for a bootp/dhcp request. A similar issue fixed with a cmd/Kconfig. Items in include/net.h

[U-Boot] [PATCH v10 3/3] Adding wget

2018-04-14 Thread DH
From: Duncan Hare Why http and wget: HTTP is the most efficient file retrieval protocol in common use. The client send a single request, after TCP connection, to receive a file of any length. WGET is the application which implements http file transfer outside browsers as

[U-Boot] [PATCH v10 1/3] Adding TCP and wget into u-boot

2018-04-14 Thread DH
From: Duncan Hare Signed-off-by: Duncan Hare --- Added a protocol parameter to ip packet sending in net.c Added UDP protocol for current applications to minimize code changes to existing net apps. All the code is new, and not copied from any

[U-Boot] [PATCH v10 0/3] Why netboot:

2018-04-14 Thread DH
From: Duncan Hare Central management, including logs and change control, coupled with with enhanced security and unauthorized change detection and remediation by exposing a small attack surface. Why TCP: Currently file transfer are done using tftp or NFS both over udp.

[U-Boot] [PATCH v9 2/3] Adding TCP

2018-03-25 Thread DH
From: Duncan Hare All the code is new, and not copied from any source. Series-changes The previous patch was using an old version of net/Kconfig, which prevented requesting options for a bootp/dhcp request. A similar issue fixed with a cmd/Kconfig. Items in include/net.h

[U-Boot] [PATCH v9 3/3] Adding wget

2018-03-25 Thread DH
From: Duncan Hare Why http and wget: HTTP is the most efficient file retrieval protocol in common use. The client send a single request, after TCP connection, to receive a file of any length. WGET is the application which implements http file transfer outside browsers as

[U-Boot] [PATCH v9 1/3] Adding TCP and wget into u-boot

2018-03-25 Thread DH
From: Duncan Hare cover-letter: Why netboot: Central management, including logs and change control, coupled with with enhanced security and unauthorized change detection and remediation by exposing a small attack surface. Why TCP: Currently file transfer are done using

Re: [U-Boot] dhcp command not populating dnsip environment variable

2018-03-23 Thread dh
On Mon, 19 Mar 2018 21:24:50 + (UTC) Duncan Hare wrote: Joe My approach with the bootp options was a submenu in the net/Kconfig file. coupled with imply directives as suggested in defaults_distro_config. However: The "if NET" directive in net/kconfig precludes

[U-Boot] [PATCH v8 3/3] Adding wget

2018-03-07 Thread DH
From: Duncan Hare > Adding wget Signed-off-by: Duncan Hare --- All the code is new, and not copied from any source. Adding net/wget.c include/net/wget.h Chages to cmd/net.c cmd/Kconfig Changes in v8: None cmd/Kconfig| 93 ++--

[U-Boot] [PATCH v8 2/3] Adding TCP

2018-03-07 Thread DH
From: Duncan Hare All the code is new, and not copied from any source. > Signed-off-by: Duncan Hare --- Routine tcp_print_buffer() is used to print portions of non zero terminated buffers. If there is an existing routine please let me know.

[U-Boot] [PATCH v8 1/3] Adding TCP and wget into u-boot

2018-03-07 Thread DH
length. WGET is the application which implements http file transfer outside browsers as a file transfer protocol. Versions of wget exists on many operating systems. END Signed-off-by: Duncan Hare <dh...@synoia.com> --- Changed in this patch: include/net.h net/net.c Added a protocol parameter

[U-Boot] [PATCH v7 4/4] Fixed minor formatting errors.

2018-03-01 Thread DH
From: Duncan Hare Too long a line in wget, line 386 Embedded blanks and tabs in clarifying comments in tcp.c Signed-off-by: Duncan Hare --- Changes in v7: None net/tcp.c | 14 +++--- net/wget.c | 3 ++- 2 files changed, 9

[U-Boot] [PATCH v7 3/4] Integrating TCP and wget into u-boot

2018-03-01 Thread DH
From: Duncan Hare All the code is new, and not copied from any source. > Commit-notes Integrating TCP and wget into u-boot All the code is new, and not copied from any source. > Commit-notes Why http and wget: HTTP is the most efficient file

[U-Boot] [PATCH v7 2/4] Integrating TCP and wget into u-boot v7

2018-03-01 Thread DH
From: Duncan Hare All the code is new, and not copied from any source. > Commit-notes Routine tcp_print_buffer() is used to print portions of non zero terminated buffers. If there is an existing routine please let me know. I'm from the world of length fields

[U-Boot] [PATCH v7 1/4] Integrating TCP and wget into u-boot

2018-03-01 Thread DH
From: Duncan Hare All the code is new, and not copied from any source. > Commit-notes Why netboot: Central management, including logs and change control, coupled with with enhanced security and unauthorized change detection and remediation by exposing a small

[U-Boot] [PATCH 2/3] Integrating TCP and wget into u-boot v7

2018-02-28 Thread DH
From: Duncan Hare All the code is new, and not copied from any source. > Commit-notes Routine tcp_print_buffer() is used to print portions of non zero terminated buffers. If there is an existing routine please let me know. I'm from the world of length fields

[U-Boot] [PATCH] This patch is the Interfaces changes for, net.h, net.c, ping.c files for introducing TCP and wget into u-boot.

2018-02-28 Thread DH
From: Duncan Hare All the code is new, and not copied from any source. > Commit-notes Why netboot: Central management, including logs and change control, coupled with with enhanced security and unauthorized change detection and remediation by exposing a small

[U-Boot] [PATCH 3/3] wget.c, wget.h and modified tftp.c.

2018-02-24 Thread DH
From: Duncan Hare Modified tftp.c can be used to verify integrity of wget download by setting compile directive and performing a second file transfer with tftp transfer. 1 waring from patman about maintainers. How should this be handled? Signed-off-by: Duncan Hare

[U-Boot] [PATCH 2/3] TCP code. All is new.

2018-02-24 Thread DH
From: Duncan Hare Passed through patman, which does not like packed headers. But, packed headers are a requirement to meet protocol header standards. Signed-off-by: Duncan Hare --- net/Makefile | 3 +- net/tcp.c| 723

[U-Boot] [PATCH 1/3] Interface changes for adding TCP

2018-02-24 Thread DH
From: Duncan Hare This code has passed through patman. Signed-off-by: Duncan Hare --- include/net.h | 32 ++ net/Kconfig | 5 +++ net/net.c | 102 +++--- net/ping.c|

Re: [U-Boot] TCP & Overrrun

2018-02-08 Thread dh
On Thu, 8 Feb 2018 22:15:44 + (UTC) Duncan Hare wrote: >  Duncan Hare > > 714 931 7952 > > > - Forwarded Message - > From: Joe Hershberger > To: Duncan Hare > Cc: u-boot ; Joe Hershberger >

[U-Boot] [PATCH] TCP and wget implementation. Patch V5, 3 of 3.

2018-01-28 Thread DH
From: Duncan Hare This is the wget, tftp and Kconfig files for introducing TCP and wget into u-boot. tftp.c was enhanced to check a downloaded kernel by being able to compile it as a verification tool. The switch detween download program and tool is by c #define

[U-Boot] [PATCH] git_meg_1

2018-01-28 Thread DH
From: Duncan Hare Signed-off-by: Duncan Hare --- include/net.h | 32 ++ net/Kconfig | 5 +++ net/net.c | 102 +++--- net/ping.c| 9 ++ 4 files changed, 115

[U-Boot] DHCP Command Does Not Populate all DHCP Options supplied by DHCP Server

2017-02-04 Thread dh
The u-boot DHCP Command appears to populate some DHCP options, for example: rootpath and gateway, netamsk and ipaddress. It does not appear to populate Bootfile Name (Option 67) and Boot Server Host Name (Option 66) Can populating all option returned from DHCP. BOOTP etc be added? I can

[U-Boot] Usind dhcp command

2017-01-07 Thread dh
Here's the definition of the dhcp command: dhcp [loadAddress] [[hostIPaddr:]bootfilename]How do the fields "hostIPaddr" and "bootfilename" get established when the host ip address and bootfilename are returned in the dhcp message response? Duncan Hare 714 931 7952

Re: [U-Boot] FDT retrived raspberry pi bootargs length > 350 characters cause setenv errors, sequemce fdt get/ set/ get truncates at the first blank in the string.

2016-11-24 Thread dh
From: Anatolij Gustschin To: d...@synoia.com Cc: Tom Rini ; u-boot Sent: Thursday, November 24, 2016 1:12 AM Subject: Re: [U-Boot] FDT retrived raspberry pi bootargs length > 350 characters cause setenv errors, sequemce fdt get/

[U-Boot] FDT retrived raspberry pi bootargs length > 350 characters cause setenv errors, sequemce fdt get/ set/ get truncates at the first blank in the string.

2016-11-22 Thread dh
  Imove the fdt to 0x100 fdt move ${fdt_addr}  100 fdt addr 100   then fdt get value bootargs /chosen bootargs printenv bootargs 8250.nr_uarts=0 dma.dmachans=0x7f35 bcm2708_fb.fbwidth=3840 bcm2708_fb.fbheight=2160 bcm2709.boardrev=0xa02082 bcm2709.serial=0x998f552d

[U-Boot] Fw: FDT retrived varaibles appear to have different properties fom other u-boot variables - and are corrupted on get, set, get sequence

2016-11-19 Thread dh
> I move the fdt to 0x100 > fdt move ${fdt_addr}  100 > fdt addr 100 > > then > fdt get value bootargs /chosen bootargs > printenv bootargs > bootargs=all the boot args...but setenv abc $bootargs fails...as > does printenv $bootargs > > fdt set bootargs /chosen bootargsfdt get

[U-Boot] FDT retrived varaibles appear to have different properties fom other u-boot variables - and are corrupted on get, set, get correction

2016-11-14 Thread dh
 Duncan Hare 714 931 7952 - Forwarded Message - From: "d...@synoia.com" To: "u-boot@lists.denx.de" Cc: Cédric Schieli Sent: Sunday, November 13, 2016 4:08 PM Subject: FDT retrived varaibles appear to have different

[U-Boot] FDT retrived varaibles appear to have different properties fom other u-boot variables - and are corrupted on get, set, get sequence

2016-11-13 Thread dh
Cédric I move the fdt to 0x100 fdt move ${fdt_addr}  100 fdt addr 100 then fdt get value bootargs /chosen bootargs printenv bootargs bootargs=all the boot args...but setenv abc $bootargs fails...as does printenv $bootargs fdt set bootargs /chosen bootargsfdt get value bootargs

[U-Boot] FDT retrived varaibles appear to have different properties fom other u-boot variables

2016-11-13 Thread dh
I have retrieved a string  "fdt get value bootargs /chosen bootargs" But, when I try "setenv a $bootargs" I get the error message: setenv [-f] name value... Is appears the variable set by the "fdt get" command hasdifferent properties from a u-boot variable where the content are available with

[U-Boot] Fw: FDT pointer value, passed by the PI firmware, is not set in u-boot

2016-09-19 Thread dh
I modified the current u-boot code to store r2 in rpi.c board_init, but only get a zero value from the register. It could be one of three issues: 1. My use of the c asm statement  to store r2 is wrong (I've never done this before), assembler yes, c assembler no. 2. The compiler has consumed

[U-Boot] FDT pointer value, passed by the PI firmware, is not set in u-boot

2016-09-17 Thread dh
I'm willing to make this change to set the FDT address and test this. Where in the u-boot code should the change be made? per this thread: https://www.raspberrypi.org/forums/viewtopic.php?t=134018 The DTB start address is size dependent. The aim is to copy the DTB as high as possible. Once the

Re: [U-Boot] u-boot - raspberry pi

2016-08-27 Thread dh
Thanks for the response. We like what you do with u-boot, we believe it is a better solution. We've reviewed the PI netboot project and have come to the conclusion that even with modifications it will not provide the flexibility of u-boot, due to the proprietary nature of the PI firmware.

Re: [U-Boot] u-boot - raspberry pi

2016-08-26 Thread dh
Stephen Thank you for your response. The Rasbberry Pi approach, using the serial number imposes very difficult and expensive requirements on an enterprise. Model number or model number-rev number to identify the firmware kernel would be a better approach. If a PI does not work, that is it does

[U-Boot] u-boot - raspberry pi

2016-08-26 Thread dh
We have u-boot working on a raspberry pi, but need to append our kernel  parms to those built by the firmware. is there a version of u-boot for the pi 3, with this support, and some doc (the variable name for the firmware built kernel parms), a github link would be perfect. We have an order of

[U-Boot] Raspberry PI u-boot

2016-08-10 Thread dh
I have u-boot built and can completely boot the pi with u-boot on the SD card. But, the video resolution start off correctly, and when the kernel starts switches to a low resolution. Any suggestions?  Duncan Hare 714 931 7952 ___ U-Boot mailing list

[U-Boot] Renesas SH7263: SDHI-Files in u-Boot?

2012-06-22 Thread Mundinger, Arne (LEN, TTA-DH)
Hi, currently I want to boot the Linux uImage with u-Boot. Because of a small Flash I want to store the Image on a SD Card. Despite there are some mmc-Files in u-Boot I can't find a solution. My Controller SH7263 only supports SDHI (SD Host Interface) but not MMCIF. I found some SDHI-Files in