• Chen Gang's avatar
    pc-bios: petalogix-s3adsp1800.dtb: Use 'xlnx, xps-ethernetlite-2.00.a' instead... · c21fd2c7
    Chen Gang authored
    pc-bios: petalogix-s3adsp1800.dtb: Use 'xlnx, xps-ethernetlite-2.00.a' instead of 'xlnx, xps-ethernetlite-2.00.b'
    
    For Linux upstream kernel (e.g. 3.17-rc7), the related compatible string
    'xlnx,xps-ethernetlite-2.00.a' is supported, but 'b' is not supported,
    so change qemu dtb file to match kernel driver.
    
    The related operation for qemu (after this patch):
    
       yum install libvirt
       yum install tunctl
       tunctl -b
       ip link set tap0 up
       brctl addif virbr0 tap0
    
       ./configure
       make
       ./microblaze-softmmu/qemu-system-microblaze -M petalogix-s3adsp1800 \
         -kernel ../linux-stable.microblaze/arch/microblaze/boot/linux.bin \
         -no-reboot -append "console=ttyUL0,115200 doreboot" -nographic \
         -net nic,vlan=0,model=xlnx.xps-ethernetlite,macaddr=00:16:35:AF:94:00 \
         -net tap,vlan=0,ifname=tap0,script=no,downscript=no
    
       in microblaze qemu bash (guest machine):
    
         ifconfig eth0 add 192.168.122.2 netmask 255.255.255.0
         ifconfig eth0 up
    
       Then can telnet 192.168.122.2 directly without password from the host
       machine.
    
    The related operation for generating new dtb:
    
       building Linux kernel firstly, then get dts tool "./scripts/dts/dts".
       "./scripts/dtc/dtc -I dtb -O dts  -o ../work.dts ../qemu/petalogix-s3adsp1800.dtb"
       edit work.dts (replace 'xlnx,xps-ethernetlite-2.00.b')
       "./scripts/dtc/dtc -I dts -O dtb  -o ..qemu/petalogix-s3adsp1800.dtb ../work.dts"
    
    (Since I am not quite sure whether can read this patch or not, I put the
    related dtb file in attachment, please check, thanks).
    Signed-off-by: default avatarChen Gang <gang.chen.5i5j@gmail.com>
    Signed-off-by: default avatarMichael Tokarev <mjt@tls.msk.ru>
    c21fd2c7
Name
Last commit
Last update
..
keymaps Loading commit data...
optionrom Loading commit data...
s390-ccw Loading commit data...
spapr-rtas Loading commit data...
Makefile Loading commit data...
QEMU,cgthree.bin Loading commit data...
QEMU,tcx.bin Loading commit data...
README Loading commit data...
acpi-dsdt.aml Loading commit data...
bamboo.dtb Loading commit data...
bamboo.dts Loading commit data...
bios-256k.bin Loading commit data...
bios.bin Loading commit data...
efi-e1000.rom Loading commit data...
efi-eepro100.rom Loading commit data...
efi-ne2k_pci.rom Loading commit data...
efi-pcnet.rom Loading commit data...
efi-rtl8139.rom Loading commit data...
efi-virtio.rom Loading commit data...
kvmvapic.bin Loading commit data...
linuxboot.bin Loading commit data...
multiboot.bin Loading commit data...
openbios-ppc Loading commit data...
openbios-sparc32 Loading commit data...
openbios-sparc64 Loading commit data...
palcode-clipper Loading commit data...
petalogix-ml605.dtb Loading commit data...
petalogix-s3adsp1800.dtb Loading commit data...
ppc_rom.bin Loading commit data...
pxe-e1000.rom Loading commit data...
pxe-eepro100.rom Loading commit data...
pxe-ne2k_pci.rom Loading commit data...
pxe-pcnet.rom Loading commit data...
pxe-rtl8139.rom Loading commit data...
pxe-virtio.rom Loading commit data...
q35-acpi-dsdt.aml Loading commit data...
qemu-icon.bmp Loading commit data...
qemu-nsis.bmp Loading commit data...
qemu-nsis.ico Loading commit data...
qemu_logo.svg Loading commit data...
qemu_logo_no_text.svg Loading commit data...
s390-ccw.img Loading commit data...
s390-zipl.rom Loading commit data...
sgabios.bin Loading commit data...
slof.bin Loading commit data...
spapr-rtas.bin Loading commit data...
u-boot.e500 Loading commit data...
vgabios-cirrus.bin Loading commit data...
vgabios-qxl.bin Loading commit data...
vgabios-stdvga.bin Loading commit data...
vgabios-vmware.bin Loading commit data...
vgabios.bin Loading commit data...