Hi,

I ha a configuration for raspberry pi from recent dunfell branch.
When I run my image with runquemu:

[zork@archdevel yocto-wallscreen-qemu-build]$ runqemu
runqemu - INFO - Running bitbake -e ...
runqemu - INFO - Overriding conf file setting of STAGING_DIR_NATIVE to 
/home/zork/data/yocto-wallscreen-qemu-build/tmp/work/armv7vet2hf-neon-poky-linux-gnueabi/defaultpkgname/1.0-r0/recipe-sysroot-native
 from Bitbake environment
runqemu - INFO - Continuing with the following parameters:
KERNEL: 
[/home/zork/data/yocto-wallscreen-qemu-build/tmp/deploy/images/qemuarm/zImage--5.4.27+git0+bee554e595_ab849248b4-r0-qemuarm-20200519150054.bin]
MACHINE: [qemuarm]
FSTYPE: [ext4]
ROOTFS: 
[/home/zork/data/yocto-wallscreen-qemu-build/tmp/deploy/images/qemuarm/basic-dev-image-qemuarm-20200519150054.rootfs.ext4]
CONFFILE: 
[/home/zork/data/yocto-wallscreen-qemu-build/tmp/deploy/images/qemuarm/basic-dev-image-qemuarm-20200519150054.qemuboot.conf]

runqemu - INFO - Setting up tap interface under sudo
runqemu - INFO - Network configuration: 
ip=192.168.7.2::192.168.7.1:255.255.255.0
runqemu - INFO - Running 
/home/zork/data/yocto-wallscreen-qemu-build/tmp/work/x86_64-linux/qemu-helper-native/1.0-r1/recipe-sysroot-native/usr/bin/qemu-system-arm
 -device virtio-net-device,netdev=net0,mac=52:54:00:12:34:02 -netdev 
tap,id=net0,ifname=tap0,script=no,downscript=no -drive 
id=disk0,file=/home/zork/data/yocto-wallscreen-qemu-build/tmp/deploy/images/qemuarm/basic-dev-image-qemuarm-20200519150054.rootfs.ext4,if=none,format=raw
 -device virtio-blk-device,drive=disk0 -show-cursor -device VGA,edid=on -device 
qemu-xhci -device usb-tablet -device usb-kbd -object 
rng-random,filename=/dev/urandom,id=rng0 -device virtio-rng-pci,rng=rng0  
-machine virt,highmem=off -cpu cortex-a15 -m 256 -serial mon:vc -serial null 
-kernel 
/home/zork/data/yocto-wallscreen-qemu-build/tmp/deploy/images/qemuarm/zImage--5.4.27+git0+bee554e595_ab849248b4-r0-qemuarm-20200519150054.bin
 -append 'root=/dev/vda rw  mem=256M ip=192.168.7.2::192.168.7.1:255.255.255.0 
console=ttyAMA0 '


I have tap0 interface on host with netmask 32:

11: tap0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP 
group default qlen 1000
    link/ether e6:ae:b4:35:07:cf brd ff:ff:ff:ff:ff:ff
    inet 192.168.7.1/32 brd 192.168.7.255 scope global tap0
       valid_lft forever preferred_lft forever

How to change this mask to 24?

Thanks,
Ɓukasz
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#49447): https://lists.yoctoproject.org/g/yocto/message/49447
Mute This Topic: https://lists.yoctoproject.org/mt/74359092/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to