Re: [linux-sunxi] Re: Generic communication of boot loader state to the OS

2014-08-27 Thread Henrik Nordström
tis 2014-08-26 klockan 16:50 -0400 skrev jonsm...@gmail.com: > I wonder if DHCP client couldn't be replaced with a udev event. Set a > timer in the kernel for the length of the lease. Then generate a udev > event when it is ready to expire. Udev event runs an app that gets a > new lease. Now ther

Re: [linux-sunxi] Re: Generic communication of boot loader state to the OS

2014-08-26 Thread Floris Bos
On 08/26/2014 08:28 PM, Russell King - ARM Linux wrote: Now take a target booting using DHCP in uboot, which then mounts its root NFS. If it tries to startup a DHCP client, the first thing the DHCP client does is to clean up the interface... resulting in it killing the root NFS connection. If t

[linux-sunxi] Re: Generic communication of boot loader state to the OS

2014-08-26 Thread jonsm...@gmail.com
On Tue, Aug 26, 2014 at 3:02 PM, Russell King - ARM Linux wrote: > On Tue, Aug 26, 2014 at 02:39:45PM -0400, jonsm...@gmail.com wrote: >> On Tue, Aug 26, 2014 at 2:28 PM, Russell King - ARM Linux >> wrote: >> > On Tue, Aug 26, 2014 at 12:10:00PM -0400, jonsm...@gmail.com wrote: >> >> As a side ef

[linux-sunxi] Re: Generic communication of boot loader state to the OS

2014-08-26 Thread Russell King - ARM Linux
On Tue, Aug 26, 2014 at 02:39:45PM -0400, jonsm...@gmail.com wrote: > On Tue, Aug 26, 2014 at 2:28 PM, Russell King - ARM Linux > wrote: > > On Tue, Aug 26, 2014 at 12:10:00PM -0400, jonsm...@gmail.com wrote: > >> As a side effect this will eliminate the need for kernel command line > >> parameter

[linux-sunxi] Re: Generic communication of boot loader state to the OS

2014-08-26 Thread Mark Rutland
On Tue, Aug 26, 2014 at 07:31:09PM +0100, jonsm...@gmail.com wrote: > On Tue, Aug 26, 2014 at 1:16 PM, Mark Rutland wrote: > > Hi Jon, > > > > On Tue, Aug 26, 2014 at 05:10:00PM +0100, jonsm...@gmail.com wrote: > >> New thread split off from the simple-framebuffer discussion > >> > >> Is there

[linux-sunxi] Re: Generic communication of boot loader state to the OS

2014-08-26 Thread jonsm...@gmail.com
On Tue, Aug 26, 2014 at 2:28 PM, Russell King - ARM Linux wrote: > On Tue, Aug 26, 2014 at 12:10:00PM -0400, jonsm...@gmail.com wrote: >> As a side effect this will eliminate the need for kernel command line >> parameters describing boot state. Like console="". Over time it might >> even be able t

[linux-sunxi] Re: Generic communication of boot loader state to the OS

2014-08-26 Thread jonsm...@gmail.com
On Tue, Aug 26, 2014 at 1:16 PM, Mark Rutland wrote: > Hi Jon, > > On Tue, Aug 26, 2014 at 05:10:00PM +0100, jonsm...@gmail.com wrote: >> New thread split off from the simple-framebuffer discussion >> >> Is there a generic, underlying problem here that needs to be solved? >> AFAIK no one has d

[linux-sunxi] Re: Generic communication of boot loader state to the OS

2014-08-26 Thread Russell King - ARM Linux
On Tue, Aug 26, 2014 at 12:10:00PM -0400, jonsm...@gmail.com wrote: > As a side effect this will eliminate the need for kernel command line > parameters describing boot state. Like console="". Over time it might > even be able to pass a DHCP IP address from uboot into the kernel. Err no. Don't ev

[linux-sunxi] Re: Generic communication of boot loader state to the OS

2014-08-26 Thread jonsm...@gmail.com
On Tue, Aug 26, 2014 at 1:16 PM, Mark Rutland wrote: > Hi Jon, > > On Tue, Aug 26, 2014 at 05:10:00PM +0100, jonsm...@gmail.com wrote: >> New thread split off from the simple-framebuffer discussion >> >> Is there a generic, underlying problem here that needs to be solved? >> AFAIK no one has d

[linux-sunxi] Re: Generic communication of boot loader state to the OS

2014-08-26 Thread Mark Rutland
Hi Jon, On Tue, Aug 26, 2014 at 05:10:00PM +0100, jonsm...@gmail.com wrote: > New thread split off from the simple-framebuffer discussion > > Is there a generic, underlying problem here that needs to be solved? > AFAIK no one has designed a general purpose mechanism for > communicating boot l