Re: LibBSD PowerPC motorola_shared BSP PCI Support

2020-11-04 Thread Joel Sherrill
On Wed, Nov 4, 2020 at 6:28 AM Heinz Junkes wrote: > Hello, Chris, > unfortunately it is not quite so simple. The Beatnik board uses > for the Ethernet the Marvell Discovery II MV64360 (GT64360) > and there two of the three built-in Ethernet controllers. > > Till Straumann has written a driver

Re: LibBSD PowerPC motorola_shared BSP PCI Support

2020-11-04 Thread Heinz Junkes
Hello, Chris, unfortunately it is not quite so simple. The Beatnik board uses for the Ethernet the Marvell Discovery II MV64360 (GT64360) and there two of the three built-in Ethernet controllers. Till Straumann has written a driver for it called "mve" and unfortunately it is not available in

Re: LibBSD PowerPC motorola_shared BSP PCI Support

2020-10-30 Thread Heinz Junkes
Hello, Joel, You are right, for the MVME6100 the configuration in libbsd is still missing. There is also missing the old NIC. Chris has already sent me information about it. I'll try to do that next week. But I have to put two MVME6100s into production by the end of the month. If I can't do

Re: LibBSD PowerPC motorola_shared BSP PCI Support

2020-10-29 Thread Joel Sherrill
On Thu, Oct 29, 2020, 6:07 AM Heinz Junkes wrote: > I can now run the test programs of libbsd. But on the MVME6100 > no network interfaces gets found. > > MVME6100> netShut > /- > config addr is 0xf1000cf8 > config data is 0xf1000cfc > Welcome to RTEMS

Re: LibBSD PowerPC motorola_shared BSP PCI Support

2020-10-29 Thread Joel Sherrill
On Thu, Oct 29, 2020, 7:44 AM Heinz Junkes wrote: > I have now changed to a more modern board: MVME2500 > And built rtems6 and libbsd for qoriq_e500. > Since you mention it worked in the spring, does it work with rtems5? > > Unfortunately the board hangs when loading the image: > > MVME2500=>

Re: LibBSD PowerPC motorola_shared BSP PCI Support

2020-10-29 Thread Chris Johns
On 29/10/20 11:44 pm, Heinz Junkes wrote: > I have now changed to a more modern board: MVME2500 > And built rtems6 and libbsd for qoriq_e500. Thank you for testing and reporting. > Unfortunately the board hangs when loading the image: > > MVME2500=> setenv tfile dhcpcd02_6 > MVME2500=> run

Re: LibBSD PowerPC motorola_shared BSP PCI Support

2020-10-29 Thread Heinz Junkes
I have now changed to a more modern board: MVME2500 And built rtems6 and libbsd for qoriq_e500. Unfortunately the board hangs when loading the image: MVME2500=> setenv tfile dhcpcd02_6 MVME2500=> run rtems_myTests reading mvme2500.dtb 12363 bytes read in 32 ms (377 KiB/s) Speed: 1000, full

Re: LibBSD PowerPC motorola_shared BSP PCI Support

2020-10-29 Thread Heinz Junkes
I can now run the test programs of libbsd. But on the MVME6100 no network interfaces gets found. MVME6100> netShut /- config addr is 0xf1000cf8 config data is 0xf1000cfc Welcome to RTEMS rtems-6.0.0 (PowerPC/Generic (classic FPU)/beatnik) CPU: MPC7457 Board

Re: LibBSD PowerPC motorola_shared BSP PCI Support

2020-10-28 Thread Heinz Junkes
Thanks, I got further and the first start doesn't look that bad ;-) Welcome to RTEMS rtems-6.0.0 (PowerPC/Generic (classic FPU)/beatnik) CPU: MPC7457 Board Type: MVME6100-0163 (S/N E173D27) Bus Clock Freq: 1 Hz CPU Clock Freq: 126654 Hz Memory: 536870912 bytes

Re: LibBSD PowerPC motorola_shared BSP PCI Support

2020-10-27 Thread Joel Sherrill
I On Tue, Oct 27, 2020, 12:42 PM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > > On 27/10/2020 15:41, Joel Sherrill wrote: > > > > > > On Tue, Oct 27, 2020 at 9:23 AM Heinz Junkes > > wrote: > > > > I am currently trying git rtems6. > > > >

Re: LibBSD PowerPC motorola_shared BSP PCI Support

2020-10-27 Thread Sebastian Huber
On 27/10/2020 15:41, Joel Sherrill wrote: On Tue, Oct 27, 2020 at 9:23 AM Heinz Junkes > wrote: I am currently trying git rtems6. ../source-builder/sb-set-builder --prefix=$HOME/.rtems --log powerpc_beatnik.log --no-clean --target=powerpc-rtems6

Re: LibBSD PowerPC motorola_shared BSP PCI Support

2020-10-27 Thread Joel Sherrill
On Tue, Oct 27, 2020 at 9:23 AM Heinz Junkes wrote: > I am currently trying git rtems6. > > ../source-builder/sb-set-builder --prefix=$HOME/.rtems --log > powerpc_beatnik.log --no-clean --target=powerpc-rtems6 > --with-rtems-bsp=beatnik 6/rtems-powerpc 6/rtems-kernel > > works … > >

Re: LibBSD PowerPC motorola_shared BSP PCI Support

2020-10-27 Thread Heinz Junkes
I am currently trying git rtems6. ../source-builder/sb-set-builder --prefix=$HOME/.rtems --log powerpc_beatnik.log --no-clean --target=powerpc-rtems6 --with-rtems-bsp=beatnik 6/rtems-powerpc 6/rtems-kernel works … Unfortunately It fails here: ../source-builder/sb-set-builder

Re: LibBSD PowerPC motorola_shared BSP PCI Support

2020-10-26 Thread Chris Johns
On 26/10/20 7:32 pm, Heinz Junkes wrote: > Good morning Chris, > i will now try out libbsd on a MVME6100 (beatnik). > Is the mentioned patch in git? The PCI patch is in rtems-libbsd.git on the master and 6-freebsd-12 branches. > Or do I have to prepare something special? Yes I think you may

Re: LibBSD PowerPC motorola_shared BSP PCI Support

2020-10-26 Thread Heinz Junkes
Good morning Chris, i will now try out libbsd on a MVME6100 (beatnik). Is the mentioned patch in git? Or do I have to prepare something special? Thanks Heinz > On 21. Oct 2020, at 02:44, Chris Johns wrote: > > On 21/10/20 2:52 am, Sebastian Huber wrote: >> On 20/10/2020 03:52, chr...@rtems.org

Re: LibBSD PowerPC motorola_shared BSP PCI Support

2020-10-20 Thread Chris Johns
On 21/10/20 2:52 am, Sebastian Huber wrote: > On 20/10/2020 03:52, chr...@rtems.org wrote: > >> Tested on a MVME2700 (mvme2307) BSP: >> >> nexus0: >> pcib0 pcibus 0 on motherboard >> pci0: on pcib0 >> pci0: at device 0.0 (no driver attached) >> pci0: at device 11.0 (no driver attached) >>

Re: LibBSD PowerPC motorola_shared BSP PCI Support

2020-10-20 Thread Sebastian Huber
On 20/10/2020 03:52, chr...@rtems.org wrote: Tested on a MVME2700 (mvme2307) BSP: nexus0: pcib0 pcibus 0 on motherboard pci0: on pcib0 pci0: at device 0.0 (no driver attached) pci0: at device 11.0 (no driver attached) pci0: at device 11.1 (no driver attached) pci0: at device 12.0 (no