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
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
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
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'
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 +-
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.
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
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
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
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
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
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.
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
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
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
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
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 ++--
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.
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
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
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
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
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
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
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
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
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
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|
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
>
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
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
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
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
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/
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
> 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
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
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
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
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
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
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.
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
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
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
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
46 matches
Mail list logo