Message ID | 20210706043124.1871866-2-bmeng.cn@gmail.com |
---|---|
State | New |
Headers | show |
Series | [1/2] roms/u-boot: Bump ppce500 u-boot to v2021.07 to add eTSEC support | expand |
On Tue, Jul 06, 2021 at 12:31:24PM +0800, Bin Meng wrote: > This adds eTSEC support to the PowerPC `ppce500` machine documentation. > > Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Applied to ppc-for-6.1, thanks. > --- > > docs/system/ppc/ppce500.rst | 10 +++++++++- > 1 file changed, 9 insertions(+), 1 deletion(-) > > diff --git a/docs/system/ppc/ppce500.rst b/docs/system/ppc/ppce500.rst > index 7a815c1881..afc58f60f5 100644 > --- a/docs/system/ppc/ppce500.rst > +++ b/docs/system/ppc/ppce500.rst > @@ -19,6 +19,7 @@ The ``ppce500`` machine supports the following devices: > * Power-off functionality via one GPIO pin > * 1 Freescale MPC8xxx PCI host controller > * VirtIO devices via PCI bus > +* 1 Freescale Enhanced Triple Speed Ethernet controller (eTSEC) > > Hardware configuration information > ---------------------------------- > @@ -121,7 +122,7 @@ To boot the 32-bit Linux kernel: > Running U-Boot > -------------- > > -U-Boot mainline v2021.04 release is tested at the time of writing. To build a > +U-Boot mainline v2021.07 release is tested at the time of writing. To build a > U-Boot mainline bootloader that can be booted by the ``ppce500`` machine, use > the qemu-ppce500_defconfig with similar commands as described above for Linux: > > @@ -154,3 +155,10 @@ interface at PCI address 0.1.0, but we can switch that to an e1000 NIC by: > -display none -serial stdio \ > -bios u-boot \ > -nic tap,ifname=tap0,script=no,downscript=no,model=e1000 > + > +The QEMU ``ppce500`` machine can also dynamically instantiate an eTSEC device > +if “-device eTSEC” is given to QEMU: > + > +.. code-block:: bash > + > + -netdev tap,ifname=tap0,script=no,downscript=no,id=net0 -device eTSEC,netdev=net0
Hi David, On Thu, Jul 8, 2021 at 9:08 AM David Gibson <david@gibson.dropbear.id.au> wrote: > > On Tue, Jul 06, 2021 at 12:31:24PM +0800, Bin Meng wrote: > > This adds eTSEC support to the PowerPC `ppce500` machine documentation. > > > > Signed-off-by: Bin Meng <bmeng.cn@gmail.com> > > Applied to ppc-for-6.1, thanks. Thanks! Are both 2 patches applied, or only this one? Regards, Bin
On Thu, Jul 08, 2021 at 09:22:48AM +0800, Bin Meng wrote: > Hi David, > > On Thu, Jul 8, 2021 at 9:08 AM David Gibson <david@gibson.dropbear.id.au> wrote: > > > > On Tue, Jul 06, 2021 at 12:31:24PM +0800, Bin Meng wrote: > > > This adds eTSEC support to the PowerPC `ppce500` machine documentation. > > > > > > Signed-off-by: Bin Meng <bmeng.cn@gmail.com> > > > > Applied to ppc-for-6.1, thanks. > > Thanks! > > Are both 2 patches applied, or only this one? Both, sorry I wasn't clear.
diff --git a/docs/system/ppc/ppce500.rst b/docs/system/ppc/ppce500.rst index 7a815c1881..afc58f60f5 100644 --- a/docs/system/ppc/ppce500.rst +++ b/docs/system/ppc/ppce500.rst @@ -19,6 +19,7 @@ The ``ppce500`` machine supports the following devices: * Power-off functionality via one GPIO pin * 1 Freescale MPC8xxx PCI host controller * VirtIO devices via PCI bus +* 1 Freescale Enhanced Triple Speed Ethernet controller (eTSEC) Hardware configuration information ---------------------------------- @@ -121,7 +122,7 @@ To boot the 32-bit Linux kernel: Running U-Boot -------------- -U-Boot mainline v2021.04 release is tested at the time of writing. To build a +U-Boot mainline v2021.07 release is tested at the time of writing. To build a U-Boot mainline bootloader that can be booted by the ``ppce500`` machine, use the qemu-ppce500_defconfig with similar commands as described above for Linux: @@ -154,3 +155,10 @@ interface at PCI address 0.1.0, but we can switch that to an e1000 NIC by: -display none -serial stdio \ -bios u-boot \ -nic tap,ifname=tap0,script=no,downscript=no,model=e1000 + +The QEMU ``ppce500`` machine can also dynamically instantiate an eTSEC device +if “-device eTSEC” is given to QEMU: + +.. code-block:: bash + + -netdev tap,ifname=tap0,script=no,downscript=no,id=net0 -device eTSEC,netdev=net0
This adds eTSEC support to the PowerPC `ppce500` machine documentation. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> --- docs/system/ppc/ppce500.rst | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-)