Re: [beagleboard] Issues loading capes

2017-09-06 Thread Tarmo Kuuse


On Wednesday, September 6, 2017 at 3:51:46 AM UTC+3, RobertCNelson wrote:
>
>
>
> On Sep 5, 2017 5:07 PM, "Peter Lawler" > 
> wrote:
>
> Thanks, I'll check them out. 
>
> Just glancing at the doc now, I'm not immediately seeing to how to load 
> while.runing a kernel, unload then reload an newer version. I'm sure it'll 
> become more obvious once my caffeine levels increase.
>
>
>
> Yeah we've given up on, loading, unloading, loading in kernel land. Too 
> many race conditions.. Everyone has pretty much given up, and the focus is 
> doing it in UBoot.
>
> Regards,
>

Thank you for the explanation.

As a suggestion - perhaps you could add that to 
http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#U-Boot_Override_external_capes
 
or somewhere? I just spent a rather frustrating day trying to get my capes 
to load via capemgr/slots on a fresh image and came here to ask the exact 
same question as Peter. Can't say I found it obvious that this is no longer 
possible :)

--
Kind regards,
Tarmo

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/19712e49-d432-4b9f-a20b-542c80aedeac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Issues loading capes

2017-09-05 Thread Peter Lawler


On Wednesday, 6 September 2017 10:51:46 UTC+10, RobertCNelson wrote:
>
>
>
> On Sep 5, 2017 5:07 PM, "Peter Lawler" > 
> wrote:
>
> Thanks, I'll check them out. 
>
> Just glancing at the doc now, I'm not immediately seeing to how to load 
> while.runing a kernel, unload then reload an newer version. I'm sure it'll 
> become more obvious once my caffeine levels increase.
>
>
>
> Yeah we've given up on, loading, unloading, loading in kernel land. Too 
> many race conditions.. Everyone has pretty much given up, and the focus is 
> doing it in UBoot.
>

Annoying for Testing Land, but I can appreciate.

It may seem like a long time but it'll only add up to *back of the envelope 
calculations* a few minutes over a week.

Cheers again 

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/3eee733d-a195-479d-a92d-66ee61bc221e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Issues loading capes

2017-09-05 Thread Robert Nelson
On Sep 5, 2017 5:07 PM, "Peter Lawler"  wrote:

Thanks, I'll check them out.

Just glancing at the doc now, I'm not immediately seeing to how to load
while.runing a kernel, unload then reload an newer version. I'm sure it'll
become more obvious once my caffeine levels increase.



Yeah we've given up on, loading, unloading, loading in kernel land. Too
many race conditions.. Everyone has pretty much given up, and the focus is
doing it in UBoot.

Regards,

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOCHtYgQ0PPogNvY3nGXwe4jsZ_FMVHiT7qt%2BknqGe9GL0ip0Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Issues loading capes

2017-09-05 Thread Peter Lawler
Thanks, I'll check them out.

Just glancing at the doc now, I'm not immediately seeing to how to load
while.runing a kernel, unload then reload an newer version. I'm sure it'll
become more obvious once my caffeine levels increase.

Thanks again.

P.

On 6 Sep. 2017 09:38, "Robert Nelson"  wrote:

> On Tue, Sep 5, 2017 at 6:23 PM, Peter Lawler 
> wrote:
> > Hi!
> > Not really sure where to go from here.
> >
> > $uname -a
> > Linux tester 4.9.45-ti-r57 #1 SMP PREEMPT Fri Aug 25 22:58:38 UTC 2017
> > armv7l GNU/Linux
> >
> > $ cat /etc/dogtag
> > rcn-ee.net console Debian Image 2017-08-11
> >
> > $ sudo sh -c "echo 'BB-UART1' > /sys/devices/platform/bone_
> capemgr/slots"
> > [ 80.994834] bone_capemgr bone_capemgr: slot #4: override
> > [ 81.012216] bone_capemgr bone_capemgr: slot #4: auto loading handled by
> > U-Boot
> >
> > Then that terminal hangs. I can still connect via another ssh or via
> > console.
> >
> > $ cat /sys/devices/platform/bone_capemgr/slots
> >  0: --  -1
> >  1: --  -1
> >  2: ---l--  -1
> >  3: ---l--  -1
> >  4: --O---  -1
> >
> > I can try rebooting, but the reboot hangs with a stop job running
> timeout on
> > capemgr.
> >
> > Any thoughts/tips appreciated. I'm starting to lose my mind...
>
>
> Hi Pete,
>
> We moved to u-boot overlays, just way reliable then kernel overlays,
> but you need to edit /boot/uEnv.txt
>
> http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#U-Boot_Overlays
>
> Regards,
>
> --
> Robert Nelson
> https://rcn-ee.com/
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAG73kvVcZXRuNx25ZjOxhRbhzhmBpC5jCnUzHe%2ByghXLAjrJKg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Issues loading capes

2017-09-05 Thread Robert Nelson
On Tue, Sep 5, 2017 at 6:23 PM, Peter Lawler  wrote:
> Hi!
> Not really sure where to go from here.
>
> $uname -a
> Linux tester 4.9.45-ti-r57 #1 SMP PREEMPT Fri Aug 25 22:58:38 UTC 2017
> armv7l GNU/Linux
>
> $ cat /etc/dogtag
> rcn-ee.net console Debian Image 2017-08-11
>
> $ sudo sh -c "echo 'BB-UART1' > /sys/devices/platform/bone_capemgr/slots"
> [ 80.994834] bone_capemgr bone_capemgr: slot #4: override
> [ 81.012216] bone_capemgr bone_capemgr: slot #4: auto loading handled by
> U-Boot
>
> Then that terminal hangs. I can still connect via another ssh or via
> console.
>
> $ cat /sys/devices/platform/bone_capemgr/slots
>  0: --  -1
>  1: --  -1
>  2: ---l--  -1
>  3: ---l--  -1
>  4: --O---  -1
>
> I can try rebooting, but the reboot hangs with a stop job running timeout on
> capemgr.
>
> Any thoughts/tips appreciated. I'm starting to lose my mind...


Hi Pete,

We moved to u-boot overlays, just way reliable then kernel overlays,
but you need to edit /boot/uEnv.txt

http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#U-Boot_Overlays

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOCHtYjH7B-w61CMKzqmSGTAbdkX8rQ35nx90PaHznzw4pTA%3Dg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Issues loading capes

2017-09-05 Thread Peter Lawler
Hi!
Not really sure where to go from here.

$uname -a
Linux tester 4.9.45-ti-r57 #1 SMP PREEMPT Fri Aug 25 22:58:38 UTC 2017 
armv7l GNU/Linux

$ cat /etc/dogtag 
rcn-ee.net console Debian Image 2017-08-11

$ sudo sh -c "echo 'BB-UART1' > /sys/devices/platform/bone_capemgr/slots"
[ 80.994834] bone_capemgr bone_capemgr: slot #4: override
[ 81.012216] bone_capemgr bone_capemgr: slot #4: auto loading handled by 
U-Boot

Then that terminal hangs. I can still connect via another ssh or via 
console. 

$ cat /sys/devices/platform/bone_capemgr/slots
 0: --  -1 
 1: --  -1 
 2: ---l--  -1 
 3: ---l--  -1 
 4: --O---  -1 

I can try rebooting, but the reboot hangs with a stop job running timeout 
on capemgr. 

Any thoughts/tips appreciated. I'm starting to lose my mind...

Pete.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/a1ba83f0-c19a-4df4-9969-4b2dc9953a16%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.