raspberrypi / userland

Source code for ARM side libraries for interfacing to Raspberry Pi GPU.
BSD 3-Clause "New" or "Revised" License
2.04k stars 1.09k forks source link

error: expected ‘)’ before ‘sizeof’ #607

Closed ghost closed 4 years ago

ghost commented 4 years ago

Describe the bug I'm trying to build anbox, which uses this code, but I always get the error: /opt/vc/include/interface/vcos/vcos_types.h:205:22: error: expected unqualified-id before ‘sizeof’

To reproduce Compile anbox on a Raspberry Pi

Expected behaviour Builds as usually Actual behaviour Add a clear and concise description of what actually happened.

System

System Information
------------------

Raspberry Pi 4 Model B Rev 1.1
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"

Raspberry Pi reference 2019-12-24
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 86a959eb5160c29587927aed3afe5eb1d0530522, stage5

Linux raspberrypi 4.19.75-v7l+ #1270 SMP Tue Sep 24 18:51:41 BST 2019 armv7l GNU/Linux
Revision    : c03111
Serial      : 10000000d327233d
Model       : Raspberry Pi 4 Model B Rev 1.1
Throttled flag  : throttled=0x0
Camera          : supported=0 detected=0

Videocore information
---------------------

Sep 24 2019 17:34:30 
Copyright (c) 2012 Broadcom
version cd3add54955f8fa065b414d8fc07c525e7ddffc8 (clean) (release) (start)

alloc failures:     0
compactions:        0
legacy block fails: 0

Filesystem information
----------------------
Dateisystem    1K-Blöcke  Benutzt Verfügbar Verw% Eingehängt auf
/dev/root       60899220 20355236  37427440   36% /
devtmpfs         1867796        0   1867796    0% /dev
tmpfs            1999892   115740   1884152    6% /dev/shm
tmpfs            1999892     9136   1990756    1% /run
tmpfs               5120        4      5116    1% /run/lock
tmpfs            1999892        0   1999892    0% /sys/fs/cgroup
/dev/mmcblk0p6    258094    53033    205062   21% /boot
tmpfs             399976        8    399968    1% /run/user/1000
/dev/sda1        7610368  2525752   5084616   34% /media/pi/ROM
/dev/loop0         77824    77824         0  100% /snap/core/8270
/dev/loop1        247424   247424         0  100% /snap/anbox/91

Filename                Type        Size    Used    Priority
/var/swap                               file        102396  39424   -2

Package version information
---------------------------
raspberrypi-ui-mods:
  Installiert:           1.20191023
raspberrypi-sys-mods:
  Installiert:           20191105
openbox:
  Installiert:           3.6.1-8+rpt3
lxpanel:
  Installiert:           0.10.0-2+rpt7
pcmanfm:
  Installiert:           1.3.1-1+rpt12
rpd-plym-splash:
  Installiert:           0.20

Networking Information
----------------------

anbox0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet x.x.x.x  netmask x.x.x.x  broadcast x.x.x.x
        inet6 y::y.y.y.y  prefixlen 64  scopeid 0x20<link>
        ether m.m.m.m  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 223  bytes 41363 (40.3 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

eth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether m.m.m.m  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet x.x.x.x  netmask x.x.x.x
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Lokale Schleife)
        RX packets 342870  bytes 23683913 (22.5 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 342870  bytes 23683913 (22.5 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet x.x.x.x  netmask x.x.x.x  broadcast x.x.x.x
        inet6 y.y.y.y.y.y.y.y  prefixlen 64  scopeid 0x0<global>
        inet6 y::y.y.y.y  prefixlen 64  scopeid 0x20<link>
        ether m.m.m.m  txqueuelen 1000  (Ethernet)
        RX packets 1268379  bytes 1422082161 (1.3 GiB)
        RX errors 0  dropped 2  overruns 0  frame 0
        TX packets 821063  bytes 104018416 (99.1 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

USB Information
---------------

/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 1: Dev 3, If 0, Class=Mass Storage, Driver=usb-storage, 480M
        |__ Port 3: Dev 15, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
        |__ Port 4: Dev 5, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
        |__ Port 4: Dev 5, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M

Display Information
-------------------

Running (F)KMS and X

Screen 0: minimum 320 x 200, current 1024 x 768, maximum 7680 x 7680
HDMI-1 connected primary 1024x768+0+0 (0x42) normal (normal left inverted right x axis y axis) 304mm x 228mm
    Identifier: 0x40
    Timestamp:  8810
    Subpixel:   unknown
    Gamma:      1.0:1.0:1.0
    Brightness: 1.0
    Clones:    
    CRTC:       0
    CRTCs:      0
    Transform:  1.000000 0.000000 0.000000
                0.000000 1.000000 0.000000
                0.000000 0.000000 1.000000
               filter: 
    EDID: 
        00ffffffffffff005a6309fc01010101
        1c0c0103801e17782a0b859e57499824
        18505421080061400101010101010101
        01010101010164190040410026301888
        360030e410000018000000ff00393135
        3032323837303232370a000000fd0032
        4b1e3e09000a202020202020000000fc
        0056473135306d0a20202020202001b3
        02031770448403020123090707830100
        0065030c001000011d007251d01e206e
        28550010090000001e011d007251d01e
        206e28550010090000001e8c0ad08a20
        e02d10103e9600100900000018000000
        00000000000000000000000000000000
        00000000000000000000000000000000
        00000000000000000000000000000000
    Broadcast RGB: Automatic 
        supported: Automatic, Full, Limited 16:235
    bottom margin: 0 
        range: (0, 100)
    top margin: 0 
        range: (0, 100)
    right margin: 0 
        range: (0, 100)
    left margin: 0 
        range: (0, 100)
    link-status: Good 
        supported: Good, Bad
    CONNECTOR_ID: 51 
        supported: 51
    non-desktop: 0 
        range: (0, 1)
  1024x768 (0x42) 65.000MHz -HSync -VSync *current +preferred
        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock  48.36KHz
        v: height  768 start  771 end  777 total  806           clock  60.00Hz
  1280x720 (0x43) 74.250MHz +HSync +VSync
        h: width  1280 start 1390 end 1430 total 1650 skew    0 clock  45.00KHz
        v: height  720 start  725 end  730 total  750           clock  60.00Hz
  1280x720 (0x44) 74.250MHz +HSync +VSync
        h: width  1280 start 1390 end 1430 total 1650 skew    0 clock  45.00KHz
        v: height  720 start  725 end  730 total  750           clock  60.00Hz
  1280x720 (0x45) 74.176MHz +HSync +VSync
        h: width  1280 start 1390 end 1430 total 1650 skew    0 clock  44.96KHz
        v: height  720 start  725 end  730 total  750           clock  59.94Hz
  800x600 (0x46) 40.000MHz +HSync +VSync
        h: width   800 start  840 end  968 total 1056 skew    0 clock  37.88KHz
        v: height  600 start  601 end  605 total  628           clock  60.32Hz
  720x480 (0x47) 27.027MHz -HSync -VSync
        h: width   720 start  736 end  798 total  858 skew    0 clock  31.50KHz
        v: height  480 start  489 end  495 total  525           clock  60.00Hz
  720x480 (0x48) 27.027MHz -HSync -VSync
        h: width   720 start  736 end  798 total  858 skew    0 clock  31.50KHz
        v: height  480 start  489 end  495 total  525           clock  60.00Hz
  720x480 (0x49) 27.000MHz -HSync -VSync
        h: width   720 start  736 end  798 total  858 skew    0 clock  31.47KHz
        v: height  480 start  489 end  495 total  525           clock  59.94Hz
  720x480 (0x4a) 27.000MHz -HSync -VSync
        h: width   720 start  736 end  798 total  858 skew    0 clock  31.47KHz
        v: height  480 start  489 end  495 total  525           clock  59.94Hz
  720x480 (0x4b) 27.000MHz -HSync -VSync
        h: width   720 start  736 end  798 total  858 skew    0 clock  31.47KHz
        v: height  480 start  489 end  495 total  525           clock  59.94Hz
  640x480 (0x4c) 25.200MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock  31.50KHz
        v: height  480 start  490 end  492 total  525           clock  60.00Hz
  640x480 (0x4d) 25.175MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock  31.47KHz
        v: height  480 start  490 end  492 total  525           clock  59.94Hz
  640x480 (0x4e) 25.175MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock  31.47KHz
        v: height  480 start  490 end  492 total  525           clock  59.94Hz

config.txt
----------

arm_freq=1500
audio_pwm_mode=514
config_hdmi_boost=5
core_freq=500
core_freq_min=200
disable_commandline_tags=2
disable_l2cache=1
disable_splash=1
display_hdmi_rotate=-1
display_lcd_rotate=-1
enable_gic=1
force_eeprom_read=1
force_pwm_open=1
framebuffer_ignore_alpha=1
framebuffer_swap=1
gpu_freq=500
gpu_freq_min=500
init_uart_clock=0x2dc6c00
lcd_framerate=60
mask_gpu_interrupt0=1024
mask_gpu_interrupt1=0x10000
max_framebuffers=2
pause_burst_frames=1
program_serial_random=1
second_boot=1
hdmi_force_cec_address:0=65535
hdmi_force_cec_address:1=65535
hdmi_pixel_freq_limit:0=0x11e1a300
hdmi_pixel_freq_limit:1=0x11e1a300
device_tree=-
hdmi_cvt:0=
hdmi_cvt:1=
hdmi_edid_filename:0=
hdmi_edid_filename:1=
hdmi_timings:0=
hdmi_timings:1=

cmdline.txt
-----------
coherent_pool=1M 8250.nr_uarts=0 cma=64M cma=256M video=HDMI-A-1:1024x768M@60,margin_left=0,margin_right=0,margin_top=0,margin_bottom=0 smsc95xx.macaddr=DC:A6:32:04:08:95 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyS0,115200 console=tty1 root=/dev/mmcblk0p7 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles

raspi-gpio settings
-------------------

BANK0 (GPIO 0 to 27):
GPIO 0: level=1 fsel=0 func=INPUT pull=UP
GPIO 1: level=1 fsel=0 func=INPUT pull=UP
GPIO 2: level=1 fsel=0 func=INPUT pull=UP
GPIO 3: level=1 fsel=0 func=INPUT pull=UP
GPIO 4: level=1 fsel=0 func=INPUT pull=UP
GPIO 5: level=1 fsel=0 func=INPUT pull=UP
GPIO 6: level=1 fsel=0 func=INPUT pull=UP
GPIO 7: level=1 fsel=0 func=INPUT pull=UP
GPIO 8: level=1 fsel=0 func=INPUT pull=UP
GPIO 9: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 10: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 11: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 12: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 13: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 14: level=1 fsel=0 func=INPUT pull=NONE
GPIO 15: level=1 fsel=0 func=INPUT pull=UP
GPIO 16: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 17: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 18: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 19: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 20: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 21: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 22: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 23: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 24: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 25: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 26: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 27: level=0 fsel=0 func=INPUT pull=DOWN
BANK1 (GPIO 28 to 45):
GPIO 28: level=1 fsel=2 alt=5 func=RGMII_MDIO pull=UP
GPIO 29: level=0 fsel=2 alt=5 func=RGMII_MDC pull=DOWN
GPIO 30: level=0 fsel=7 alt=3 func=CTS0 pull=UP
GPIO 31: level=0 fsel=7 alt=3 func=RTS0 pull=NONE
GPIO 32: level=1 fsel=7 alt=3 func=TXD0 pull=NONE
GPIO 33: level=1 fsel=7 alt=3 func=RXD0 pull=UP
GPIO 34: level=0 fsel=7 alt=3 func=SD1_CLK pull=NONE
GPIO 35: level=1 fsel=7 alt=3 func=SD1_CMD pull=UP
GPIO 36: level=1 fsel=7 alt=3 func=SD1_DAT0 pull=UP
GPIO 37: level=1 fsel=7 alt=3 func=SD1_DAT1 pull=UP
GPIO 38: level=1 fsel=7 alt=3 func=SD1_DAT2 pull=UP
GPIO 39: level=1 fsel=7 alt=3 func=SD1_DAT3 pull=UP
GPIO 40: level=0 fsel=4 alt=0 func=PWM1_0 pull=NONE
GPIO 41: level=0 fsel=4 alt=0 func=PWM1_1 pull=NONE
GPIO 42: level=0 fsel=1 func=OUTPUT pull=UP
GPIO 43: level=1 fsel=0 func=INPUT pull=UP
GPIO 44: level=1 fsel=0 func=INPUT pull=UP
GPIO 45: level=1 fsel=0 func=INPUT pull=UP
BANK2 (GPIO 46 to 53):
GPIO 46: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 47: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 48: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 49: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 50: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 51: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 52: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 53: level=0 fsel=0 func=INPUT pull=DOWN

vcdbg log messages
------------------

002624.932: arasan: arasan_emmc_open
002627.105: arasan: arasan_emmc_set_clock C0: 0x00000000 C1: 0x000ef447 emmc: 200000000 actual: 200000 div: 0x000001f4 target: 200000 min: 100000 max: 400000 delay: 10
002743.847: arasan: arasan_emmc_set_clock C0: 0x00000000 C1: 0x000ef447 emmc: 200000000 actual: 200000 div: 0x000001f4 target: 200000 min: 100000 max: 400000 delay: 10
002751.001: arasan: arasan_emmc_set_clock C0: 0x00000f00 C1: 0x000e01c7 emmc: 200000000 actual: 130039 div: 0x00000301 target: 130000 min: 100000 max: 400000 delay: 15
002821.759: arasan: arasan_emmc_set_clock C0: 0x00000f06 C1: 0x000e0307 emmc: 200000000 actual: 33333333 div: 0x00000003 target: 40000000 min: 0 max: 40000000 delay: 1
003092.770: brfs: File read: /mfs/sd/config.txt
003093.518: brfs: File read: 1822 bytes
003155.913: brfs: File read: /mfs/sd/config.txt
003356.869: gpioman: gpioman_get_pin_num: pin DISPLAY_DSI_PORT not defined
003359.351: *** Restart logging
003359.393: brfs: File read: 1822 bytes
003397.238: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_display_state instead
003397.284: HDMI0: hdmi_pixel_encoding: 300000000

003397.295: HDMI1: hdmi_pixel_encoding: 300000000

003400.367: brfs: File read: /mfs/sd/cmdline.txt
003400.433: Read command line from file 'cmdline.txt':
003400.466: 'console=serial0,115200 console=tty1 root=/dev/mmcblk0p7 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles'
003404.997: brfs: File read: 160 bytes
003410.048: brfs: File read: /mfs/sd/bcm2711-rpi-4-b.dtb
003410.088: Loading 'bcm2711-rpi-4-b.dtb' to 0x100 size 0x9e6f
003634.156: brfs: File read: 40559 bytes
003638.502: brfs: File read: /mfs/sd/config.txt
003639.377: dtparam: audio=on
003681.712: brfs: File read: 1822 bytes
003701.291: brfs: File read: /mfs/sd/overlays/vc4-fkms-v3d.dtbo
003768.462: Loaded overlay 'vc4-fkms-v3d'
005328.208: brfs: File read: 1255 bytes
006362.096: brfs: File read: /mfs/sd/kernel7l.img
006362.181: Loading 'kernel7l.img' to 0x8000 size 0x55e088
006362.272: Device tree loaded to 0x2eff5c00 (size 0xa3e4)
006365.014: gpioman: gpioman_get_pin_num: pin SDCARD_CONTROL_POWER not defined
008977.105: vchiq_core: vchiq_init_state: slot_zero = 0xded80000, is_master = 1
008980.518: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_display_state instead
008987.559: TV service:host side not connected, dropping notification 0x00000002, 0x00000002, 0x00000010
012503.180: brfs: File read: 5628040 bytes
013696.650: TV service:host side not connected, dropping notification 0x00000008, 0x00000004, 0x00000000
2580667.749: TV service:host side not connected, dropping notification 0x00000008, 0x00000004, 0x00000000
1112773.818: TV service:host side not connected, dropping notification 0x00000008, 0x00000004, 0x00000000
105490.521: TV service:host side not connected, dropping notification 0x00000008, 0x00000004, 0x00000000
2681079.230: TV service:host side not connected, dropping notification 0x00000008, 0x00000004, 0x00000000
1573611.020: mmal: mmal_ril_set_port_settings: ril.isp:in:0(OPQV): failed to set port definition (4) buffers 0/0/0
1573611.121: mmal: mmal_ril_port_send: format not set on port 3f48dc00, ril.isp:in:0(OPQV)
1588816.578: mmal: mmal_ril_set_port_settings: ril.isp:in:0(OPQV): failed to set port definition (4) buffers 0/0/0
1588816.661: mmal: mmal_ril_port_send: format not set on port 3f4970e0, ril.isp:in:0(OPQV)
1700965.444: mmal: mmal_ril_set_port_settings: ril.isp:in:0(OPQV): failed to set port definition (4) buffers 0/0/0
1700965.532: mmal: mmal_ril_port_send: format not set on port 3f48bd20, ril.isp:in:0(OPQV)
1807532.457: mmal: mmal_ril_set_port_settings: ril.isp:in:0(OPQV): failed to set port definition (4) buffers 0/0/0
1807532.549: mmal: mmal_ril_port_send: format not set on port 3f48dbc0, ril.isp:in:0(OPQV)
1848335.772: mmal: mmal_ril_set_port_settings: ril.isp:in:0(OPQV): failed to set port definition (4) buffers 0/0/0
1848335.870: mmal: mmal_ril_port_send: format not set on port 3f48ac40, ril.isp:in:0(OPQV)
3100062.192: TV service:host side not connected, dropping notification 0x00000008, 0x00000004, 0x00000000

dmesg log
---------

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.19.75-v7l+ (dom@buildbot) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611)) #1270 SMP Tue Sep 24 18:51:41 BST 2019
[    0.000000] CPU: ARMv7 Processor [410fd083] revision 3 (ARMv7), cr=30c5383d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] OF: fdt: Machine model: Raspberry Pi 4 Model B Rev 1.1
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: Reserved 256 MiB at 0x000000001ec00000
[    0.000000] On node 0 totalpages: 1012736
[    0.000000]   DMA zone: 1728 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 196608 pages, LIFO batch:63
[    0.000000]   HighMem zone: 816128 pages, LIFO batch:63
[    0.000000] random: get_random_bytes called from start_kernel+0xc0/0x4e8 with crng_init=0
[    0.000000] percpu: Embedded 17 pages/cpu s39488 r8192 d21952 u69632
[    0.000000] pcpu-alloc: s39488 r8192 d21952 u69632 alloc=17*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1011008
[    0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 cma=64M cma=256M video=HDMI-A-1:1024x768M@60,margin_left=0,margin_right=0,margin_top=0,margin_bottom=0 smsc95xx.macaddr=m.m.m.m vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyS0,115200 console=tty1 root=/dev/mmcblk0p7 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 3735592K/4050944K available (8192K kernel code, 661K rwdata, 2352K rodata, 2048K init, 850K bss, 53208K reserved, 262144K cma-reserved, 3264512K highmem)
[    0.000000] Virtual kernel memory layout:
                   vector  : 0xffff0000 - 0xffff1000   (   4 kB)
                   fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
                   vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
                   lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
                   pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
                   modules : 0xbf000000 - 0xbfe00000   (  14 MB)
                     .text : 0x(ptrval) - 0x(ptrval)   (10208 kB)
                     .init : 0x(ptrval) - 0x(ptrval)   (2048 kB)
                     .data : 0x(ptrval) - 0x(ptrval)   ( 662 kB)
                      .bss : 0x(ptrval) - 0x(ptrval)   ( 851 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 28124 entries in 83 pages
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] arch_timer: cp15 timer(s) running at 54.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xc743ce346, max_idle_ns: 440795203123 ns
[    0.000006] sched_clock: 56 bits at 54MHz, resolution 18ns, wraps every 4398046511102ns
[    0.000018] Switching to timer-based delay loop, resolution 18ns
[    0.000242] Console: colour dummy device 80x30
[    0.000266] console [tty1] enabled
[    0.000307] Calibrating delay loop (skipped), value calculated using timer frequency.. 108.00 BogoMIPS (lpj=540000)
[    0.000329] pid_max: default: 32768 minimum: 301
[    0.000592] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000611] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001355] CPU: Testing write buffer coherency: ok
[    0.001765] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002401] Setting up static identity map for 0x200000 - 0x20003c
[    0.002557] rcu: Hierarchical SRCU implementation.
[    0.003416] smp: Bringing up secondary CPUs ...
[    0.004323] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.005357] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.006349] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.006482] smp: Brought up 1 node, 4 CPUs
[    0.006495] SMP: Total of 4 processors activated (432.00 BogoMIPS).
[    0.006505] CPU: All CPU(s) started in HYP mode.
[    0.006513] CPU: Virtualization extensions available.
[    0.007299] devtmpfs: initialized
[    0.017668] VFP support v0.3: implementor 41 architecture 3 part 40 variant 8 rev 0
[    0.017871] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.017892] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.025416] pinctrl core: initialized pinctrl subsystem
[    0.026269] NET: Registered protocol family 16
[    0.029263] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[    0.030747] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.030757] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.030947] Serial: AMBA PL011 UART driver
[    0.033992] bcm2835-mbox fe00b880.mailbox: mailbox enabled
[    0.069801] bcm2835-dma fe007000.dma: DMA legacy API manager at (ptrval), dmachans=0x1
[    0.072255] vgaarb: loaded
[    0.072620] SCSI subsystem initialized
[    0.072816] usbcore: registered new interface driver usbfs
[    0.072867] usbcore: registered new interface driver hub
[    0.072934] usbcore: registered new device driver usb
[    0.090407] raspberrypi-firmware soc:firmware: Attached to firmware from 2019-09-24 17:34, variant start
[    0.100118] raspberrypi-firmware soc:firmware: Firmware hash is cd3add54955f8fa065b414d8fc07c525e7ddffc8
[    0.111650] clocksource: Switched to clocksource arch_sys_counter
[    0.189017] VFS: Disk quotas dquot_6.6.0
[    0.189093] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.189244] FS-Cache: Loaded
[    0.189431] CacheFiles: Loaded
[    0.189960] simple-framebuffer 3ea7a000.framebuffer: framebuffer at 0x3ea7a000, 0x180000 bytes, mapped to 0x(ptrval)
[    0.189974] simple-framebuffer 3ea7a000.framebuffer: format=r5g6b5, mode=1024x768x16, linelength=2048
[    0.193065] Console: switching to colour frame buffer device 128x48
[    0.195791] simple-framebuffer 3ea7a000.framebuffer: fb0: simplefb registered!
[    0.204785] NET: Registered protocol family 2
[    0.205432] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
[    0.205457] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.205527] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.205597] TCP: Hash tables configured (established 8192 bind 8192)
[    0.205716] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.205742] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.206035] NET: Registered protocol family 1
[    0.206573] RPC: Registered named UNIX socket transport module.
[    0.206583] RPC: Registered udp transport module.
[    0.206592] RPC: Registered tcp transport module.
[    0.206601] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.206617] PCI: CLS 0 bytes, default 64
[    0.209660] Initialise system trusted keyrings
[    0.209838] workingset: timestamp_bits=14 max_order=20 bucket_order=6
[    0.218792] FS-Cache: Netfs 'nfs' registered for caching
[    0.219288] NFS: Registering the id_resolver key type
[    0.219311] Key type id_resolver registered
[    0.219321] Key type id_legacy registered
[    0.219340] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.221568] Key type asymmetric registered
[    0.221579] Asymmetric key parser 'x509' registered
[    0.221754] bounce: pool size: 64 pages
[    0.221805] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    0.221961] io scheduler noop registered
[    0.221972] io scheduler deadline registered (default)
[    0.222124] io scheduler cfq registered
[    0.222135] io scheduler mq-deadline registered (default)
[    0.222145] io scheduler kyber registered
[    0.253237] brcm-pcie fd500000.pcie: dmabounce: initialised - 32768 kB, threshold 0x00000000c0000000
[    0.253255] brcm-pcie fd500000.pcie: could not get clock
[    0.253315] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges:
[    0.253352] brcm-pcie fd500000.pcie:   MEM 0x600000000..0x603ffffff -> 0xf8000000
[    0.311687] brcm-pcie fd500000.pcie: link up, 5.0 Gbps x1 (!SSC)
[    0.311953] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00
[    0.311969] pci_bus 0000:00: root bus resource [bus 00-01]
[    0.311986] pci_bus 0000:00: root bus resource [mem 0x600000000-0x603ffffff] (bus address [0xf8000000-0xfbffffff])
[    0.312028] pci 0000:00:00.0: [14e4:2711] type 01 class 0x060400
[    0.312170] pci 0000:00:00.0: PME# supported from D0 D3hot
[    0.314923] PCI: bus0: Fast back to back transfers disabled
[    0.314940] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.315142] pci 0000:01:00.0: [1106:3483] type 00 class 0x0c0330
[    0.315267] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit]
[    0.315585] pci 0000:01:00.0: PME# supported from D0 D3cold
[    0.318350] PCI: bus1: Fast back to back transfers disabled
[    0.318365] pci_bus 0000:01: busn_res: [bus 01] end is updated to 01
[    0.318411] pci 0000:00:00.0: BAR 8: assigned [mem 0x600000000-0x6000fffff]
[    0.318430] pci 0000:01:00.0: BAR 0: assigned [mem 0x600000000-0x600000fff 64bit]
[    0.318501] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.318518] pci 0000:00:00.0:   bridge window [mem 0x600000000-0x6000fffff]
[    0.318727] pcieport 0000:00:00.0: enabling device (0140 -> 0142)
[    0.318909] pcieport 0000:00:00.0: Signaling PME with IRQ 55
[    0.319078] pcieport 0000:00:00.0: AER enabled with IRQ 55
[    0.319246] pci 0000:01:00.0: enabling device (0140 -> 0142)
[    0.322510] iproc-rng200 fe104000.rng: hwrng registered
[    0.322724] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
[    0.323220] vc-sm: Videocore shared memory driver
[    0.323610] gpiomem-bcm2835 fe200000.gpiomem: Initialised: Registers at 0xfe200000
[    0.333579] brd: module loaded
[    0.343226] loop: module loaded
[    0.343954] Loading iSCSI transport class v2.0-870.
[    0.345623] libphy: Fixed MDIO Bus: probed
[    0.346037] bcmgenet fd580000.genet: failed to get enet clock
[    0.346054] bcmgenet fd580000.genet: GENET 5.0 EPHY: 0x0000
[    0.346071] bcmgenet fd580000.genet: failed to get enet-wol clock
[    0.346087] bcmgenet fd580000.genet: failed to get enet-eee clock
[    0.346109] bcmgenet: Skipping UMAC reset
[    0.346331] unimac-mdio unimac-mdio.-19: DMA mask not set
[    0.361680] libphy: bcmgenet MII bus: probed
[    0.402163] unimac-mdio unimac-mdio.-19: Broadcom UniMAC MDIO bus at 0x(ptrval)
[    0.403050] usbcore: registered new interface driver r8152
[    0.403110] usbcore: registered new interface driver lan78xx
[    0.403163] usbcore: registered new interface driver smsc95xx
[    0.403461] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    0.403491] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1
[    0.405736] xhci_hcd 0000:01:00.0: hcc params 0x002841eb hci version 0x100 quirks 0x0000001000000890
[    0.406054] genirq: irq_chip Brcm_MSI did not update eff. affinity mask of irq 56
[    0.406920] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
[    0.406933] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.406945] usb usb1: Product: xHCI Host Controller
[    0.406956] usb usb1: Manufacturer: Linux 4.19.75-v7l+ xhci-hcd
[    0.406966] usb usb1: SerialNumber: 0000:01:00.0
[    0.407481] hub 1-0:1.0: USB hub found
[    0.407561] hub 1-0:1.0: 1 port detected
[    0.408020] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    0.408042] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
[    0.408060] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
[    0.408469] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.19
[    0.408482] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.408493] usb usb2: Product: xHCI Host Controller
[    0.408504] usb usb2: Manufacturer: Linux 4.19.75-v7l+ xhci-hcd
[    0.408514] usb usb2: SerialNumber: 0000:01:00.0
[    0.409006] hub 2-0:1.0: USB hub found
[    0.409061] hub 2-0:1.0: 4 ports detected
[    0.410237] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    0.435804] dwc_otg fe980000.usb: base=(ptrval)
[    0.636062] Core Release: 2.80a
[    0.636081] Setting default values for core params
[    0.636111] Finished setting default values for core params
[    0.836442] Using Buffer DMA mode
[    0.836453] Periodic Transfer Interrupt Enhancement - disabled
[    0.836461] Multiprocessor Interrupt Enhancement - disabled
[    0.836472] OTG VER PARAM: 0, OTG VER FLAG: 0
[    0.836530] Dedicated Tx FIFOs mode
[    0.837167] WARN::dwc_otg_hcd_init:1045: FIQ DMA bounce buffers: virt = ded34000 dma = 0x00000000ded34000 len=9024
[    0.837192] FIQ FSM acceleration enabled for :
               Non-periodic Split Transactions
               Periodic Split Transactions
               High-Speed Isochronous Endpoints
               Interrupt/Control Split Transaction hack enabled
[    0.837204] dwc_otg: Microframe scheduler enabled
[    0.837267] WARN::hcd_init_fiq:457: FIQ on core 1
[    0.837283] WARN::hcd_init_fiq:458: FIQ ASM at c07b6224 length 36
[    0.837300] WARN::hcd_init_fiq:497: MPHI regs_base at f0810200
[    0.837335] dwc_otg fe980000.usb: DWC OTG Controller
[    0.837365] dwc_otg fe980000.usb: new USB bus registered, assigned bus number 3
[    0.837396] dwc_otg fe980000.usb: irq 37, io mem 0x00000000
[    0.837449] Init: Port Power? op_state=1
[    0.837458] Init: Power Port (0)
[    0.837714] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
[    0.837727] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.837739] usb usb3: Product: DWC OTG Controller
[    0.837749] usb usb3: Manufacturer: Linux 4.19.75-v7l+ dwc_otg_hcd
[    0.837760] usb usb3: SerialNumber: fe980000.usb
[    0.838266] hub 3-0:1.0: USB hub found
[    0.838314] hub 3-0:1.0: 1 port detected
[    0.838895] dwc_otg: FIQ enabled
[    0.838904] dwc_otg: NAK holdoff enabled
[    0.838913] dwc_otg: FIQ split-transaction FSM enabled
[    0.838925] Module dwc_common_port init
[    0.839133] usbcore: registered new interface driver uas
[    0.839248] usbcore: registered new interface driver usb-storage
[    0.839413] mousedev: PS/2 mouse device common for all mice
[    0.840556] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[    0.840760] bcm2835-cpufreq: min=600000 max=1500000
[    0.841359] sdhci: Secure Digital Host Controller Interface driver
[    0.841368] sdhci: Copyright(c) Pierre Ossman
[    0.841782] mmc-bcm2835 fe300000.mmcnr: could not get clk, deferring probe
[    0.842152] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.845120] ledtrig-cpu: registered to indicate activity on CPUs
[    0.845258] hidraw: raw HID events driver (C) Jiri Kosina
[    0.845381] usbcore: registered new interface driver usbhid
[    0.845390] usbhid: USB HID core driver
[    0.846153] vchiq: vchiq_init_state: slot_zero = (ptrval), is_master = 0
[    0.847900] [vc_sm_connected_init]: start
[    0.857223] [vc_sm_connected_init]: end - returning 0
[    0.858289] Initializing XFRM netlink socket
[    0.858317] NET: Registered protocol family 17
[    0.858400] Key type dns_resolver registered
[    0.858785] Registering SWP/SWPB emulation handler
[    0.859374] registered taskstats version 1
[    0.859390] Loading compiled-in X.509 certificates
[    0.867112] uart-pl011 fe201000.serial: cts_event_workaround enabled
[    0.867177] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 34, base_baud = 0) is a PL011 rev2
[    0.870107] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[    0.870612] brcmstb_thermal fd5d2200.thermal: registered AVS TMON of-sensor driver
[    0.871222] mmc-bcm2835 fe300000.mmcnr: mmc_debug:0 mmc_debug2:0
[    0.871234] mmc-bcm2835 fe300000.mmcnr: DMA channel allocated
[    0.894816] sdhci-iproc fe340000.emmc2: Linked as a consumer to regulator.1
[    0.914103] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[    0.915709] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    0.917374] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    0.920266] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[    0.921882] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    0.929887] mmc0: SDHCI controller on fe340000.emmc2 [fe340000.emmc2] using ADMA
[    0.932392] of_cfs_init
[    0.932474] of_cfs_init: OK
[    0.933138] Waiting for root device /dev/mmcblk0p7...
[    0.979243] random: fast init done
[    0.981719] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[    0.990731] mmc1: new high speed SDIO card at address 0001
[    1.036259] mmc0: new ultra high speed DDR50 SDXC card at address aaaa
[    1.037402] mmcblk0: mmc0:aaaa SC64G 59.5 GiB
[    1.041469]  mmcblk0: p1 p2 < p5 p6 p7 >
[    1.066700] EXT4-fs (mmcblk0p7): INFO: recovery required on readonly filesystem
[    1.066711] EXT4-fs (mmcblk0p7): write access will be enabled during recovery
[    1.164315] usb 1-1: New USB device found, idVendor=2109, idProduct=3431, bcdDevice= 4.20
[    1.164351] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    1.164363] usb 1-1: Product: USB2.0 Hub
[    1.166096] hub 1-1:1.0: USB hub found
[    1.166440] hub 1-1:1.0: 4 ports detected
[    1.491699] usb 1-1.1: new high-speed USB device number 3 using xhci_hcd
[    1.629205] usb 1-1.1: New USB device found, idVendor=058f, idProduct=6387, bcdDevice= 1.0e
[    1.629220] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    1.629232] usb 1-1.1: Product: Intenso Alu Line
[    1.629244] usb 1-1.1: Manufacturer: Alcor Tech
[    1.629254] usb 1-1.1: SerialNumber: 13102300022526
[    1.631960] usb-storage 1-1.1:1.0: USB Mass Storage device detected
[    1.632446] scsi host0: usb-storage 1-1.1:1.0
[    1.651059] EXT4-fs (mmcblk0p7): orphan cleanup on readonly fs
[    1.684203] EXT4-fs (mmcblk0p7): 10 orphan inodes deleted
[    1.684214] EXT4-fs (mmcblk0p7): recovery complete
[    1.712327] EXT4-fs (mmcblk0p7): mounted filesystem with ordered data mode. Opts: (null)
[    1.712376] VFS: Mounted root (ext4 filesystem) readonly on device 179:7.
[    1.718598] devtmpfs: mounted
[    1.724925] Freeing unused kernel memory: 2048K
[    1.731909] Run /sbin/init as init process
[    1.741691] usb 1-1.3: new low-speed USB device number 4 using xhci_hcd
[    1.889706] usb 1-1.3: New USB device found, idVendor=046d, idProduct=c016, bcdDevice= 3.40
[    1.889720] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    1.889732] usb 1-1.3: Product: Optical USB Mouse
[    1.889743] usb 1-1.3: Manufacturer: Logitech
[    1.898694] input: Logitech Optical USB Mouse as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.0/0003:046D:C016.0001/input/input0
[    1.899028] hid-generic 0003:046D:C016.0001: input,hidraw0: USB HID v1.10 Mouse [Logitech Optical USB Mouse] on usb-0000:01:00.0-1.3/input0
[    1.991710] usb 1-1.4: new low-speed USB device number 5 using xhci_hcd
[    2.137266] systemd[1]: System time before build time, advancing clock.
[    2.144857] usb 1-1.4: New USB device found, idVendor=0a81, idProduct=0205, bcdDevice= 0.10
[    2.144872] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    2.144884] usb 1-1.4: Product: PS2 to USB Converter
[    2.144895] usb 1-1.4: Manufacturer: CHESEN
[    2.161613] input: CHESEN PS2 to USB Converter as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4:1.0/0003:0A81:0205.0002/input/input1
[    2.232376] hid-generic 0003:0A81:0205.0002: input,hidraw1: USB HID v1.10 Keyboard [CHESEN PS2 to USB Converter] on usb-0000:01:00.0-1.4/input0
[    2.235557] NET: Registered protocol family 10
[    2.236756] Segment Routing with IPv6
[    2.247089] input: CHESEN PS2 to USB Converter Mouse as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4:1.1/0003:0A81:0205.0003/input/input2
[    2.247388] input: CHESEN PS2 to USB Converter System Control as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4:1.1/0003:0A81:0205.0003/input/input3
[    2.285128] systemd[1]: systemd 241 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[    2.285856] systemd[1]: Detected architecture arm.
[    2.295697] systemd[1]: Set hostname to <raspberrypi>.
[    2.297838] systemd[1]: Failed to bump fs.file-max, ignoring: Invalid argument
[    2.321894] input: CHESEN PS2 to USB Converter Consumer Control as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4:1.1/0003:0A81:0205.0003/input/input4
[    2.322082] hid-generic 0003:0A81:0205.0003: input,hidraw2: USB HID v1.10 Mouse [CHESEN PS2 to USB Converter] on usb-0000:01:00.0-1.4/input1
[    2.609977] systemd[1]: File /lib/systemd/system/systemd-journald.service:12 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
[    2.609998] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
[    2.713727] scsi 0:0:0:0: Direct-Access     Intenso  Alu Line         8.07 PQ: 0 ANSI: 4
[    2.715129] sd 0:0:0:0: [sda] 15257600 512-byte logical blocks: (7.81 GB/7.28 GiB)
[    2.715981] sd 0:0:0:0: [sda] Write Protect is off
[    2.715996] sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00
[    2.716718] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    2.720662]  sda: sda1
[    2.723848] sd 0:0:0:0: [sda] Attached SCSI removable disk
[    2.968299] random: systemd: uninitialized urandom read (16 bytes read)
[    2.977322] random: systemd: uninitialized urandom read (16 bytes read)
[    2.977984] systemd[1]: Listening on fsck to fsckd communication Socket.
[    2.978276] random: systemd: uninitialized urandom read (16 bytes read)
[    2.978702] systemd[1]: Listening on udev Kernel Socket.
[    2.979292] systemd[1]: Listening on udev Control Socket.
[    2.980193] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[    3.138041] i2c /dev entries driver
[    3.531142] EXT4-fs (mmcblk0p7): re-mounted. Opts: (null)
[    3.617988] systemd-journald[125]: Received request to flush runtime journal from PID 1
[    4.176155] rpivid-mem feb00000.hevc-decoder: rpivid-hevcmem initialised: Registers at 0xfeb00000 length 0x0000ffff
[    4.176634] rpivid-mem feb10000.rpivid-local-intc: rpivid-intcmem initialised: Registers at 0xfeb10000 length 0x00000fff
[    4.177077] rpivid-mem feb20000.h264-decoder: rpivid-h264mem initialised: Registers at 0xfeb20000 length 0x0000ffff
[    4.180917] rpivid-mem feb30000.vp9-decoder: rpivid-vp9mem initialised: Registers at 0xfeb30000 length 0x0000ffff
[    4.194498] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[    4.196523] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
[    4.196538] [vc_sm_connected_init]: start
[    4.198783] [vc_sm_connected_init]: installed successfully
[    4.213216] media: Linux media interface: v0.10
[    4.290195] videodev: Linux video capture interface: v2.00
[    4.324569] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[    4.324573] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[    4.353985] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[    4.362332] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[    4.367262] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
[    4.408374] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
[    4.408412] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
[    4.415274] bcm2835-codec bcm2835-codec: Device registered as /dev/video11
[    4.415306] bcm2835-codec bcm2835-codec: Loaded V4L2 encode
[    4.420993] bcm2835-codec bcm2835-codec: Device registered as /dev/video12
[    4.421024] bcm2835-codec bcm2835-codec: Loaded V4L2 isp
[    4.521371] [drm] Initialized v3d 1.0.0 20180419 for fec00000.v3d on minor 0
[    4.522801] bcm2835_audio soc:audio: card created with 8 channels
[    4.654443] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    4.732367] vc4-drm soc:gpu: bound fe600000.firmwarekms (ops vc4_fkms_ops [vc4])
[    4.732386] checking generic (3ea7a000 180000) vs hw (0 ffffffffffffffff)
[    4.732396] fb: switching to vc4drmfb from simple
[    4.732631] Console: switching to colour dummy device 80x30
[    4.734240] [drm] Initialized vc4 0.0.0 20140616 for soc:gpu on minor 1
[    4.734255] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    4.734264] [drm] No driver support for vblank timestamp query.
[    4.734273] [drm] Setting vblank_disable_immediate to false because get_vblank_timestamp == NULL
[    4.766818] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    4.830968] brcmfmac: F1 signature read @0x18000000=0x15264345
[    4.833978] Console: switching to colour frame buffer device 128x48
[    4.834018] vc4-drm soc:gpu: fb0: DRM emulated frame buffer device
[    4.844467] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    4.844847] usbcore: registered new interface driver brcmfmac
[    5.082497] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    5.098751] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Feb 27 2018 03:15:32 version 7.45.154 (r684107 CY) FWID 01-4fbe0b04
[    5.140389] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    7.348094] random: crng init done
[    7.348110] random: 7 urandom warning(s) missed due to ratelimiting
[    7.379774] uart-pl011 fe201000.serial: no DMA platform data
[    7.518956] 8021q: 802.1Q VLAN Support v1.8
[    7.952061] Adding 102396k swap on /var/swap.  Priority:-2 extents:1 across:102396k SSFS
[    8.117016] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[    8.117033] brcmfmac: power management disabled
[    8.511950] bcmgenet: Skipping UMAC reset
[    8.622617] bcmgenet fd580000.genet: configuring instance for external RGMII (no delay)
[    8.622950] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    8.916103] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[    9.671764] bcmgenet fd580000.genet eth0: Link is Down
[   13.360610] fuse init (API version 7.27)
[   13.797054] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   14.013927] Bluetooth: Core ver 2.22
[   14.013972] NET: Registered protocol family 31
[   14.013976] Bluetooth: HCI device and connection manager initialized
[   14.013989] Bluetooth: HCI socket layer initialized
[   14.013997] Bluetooth: L2CAP socket layer initialized
[   14.014018] Bluetooth: SCO socket layer initialized
[   14.026027] Bluetooth: HCI UART driver ver 2.3
[   14.026035] Bluetooth: HCI UART protocol H4 registered
[   14.026096] Bluetooth: HCI UART protocol Three-wire (H5) registered
[   14.026216] Bluetooth: HCI UART protocol Broadcom registered
[   14.282869] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   14.282877] Bluetooth: BNEP filters: protocol multicast
[   14.282891] Bluetooth: BNEP socket layer initialized
[   14.322351] Bluetooth: RFCOMM TTY layer initialized
[   14.322366] Bluetooth: RFCOMM socket layer initialized
[   14.322383] Bluetooth: RFCOMM ver 1.11
[   15.175967] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[   15.716304] ICMPv6: process `dhcpcd' is using deprecated sysctl (syscall) net.ipv6.neigh.wlan0.retrans_time - use net.ipv6.neigh.wlan0.retrans_time_ms instead
[  914.169510] usb 1-1.3: USB disconnect, device number 4
[  914.550601] usb 1-1.3: new low-speed USB device number 6 using xhci_hcd
[  914.688522] usb 1-1.3: New USB device found, idVendor=046d, idProduct=c016, bcdDevice= 3.40
[  914.688530] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  914.688535] usb 1-1.3: Product: Optical USB Mouse
[  914.688540] usb 1-1.3: Manufacturer: Logitech
[  914.694898] input: Logitech Optical USB Mouse as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.0/0003:046D:C016.0004/input/input5
[  914.695602] hid-generic 0003:046D:C016.0004: input,hidraw0: USB HID v1.10 Mouse [Logitech Optical USB Mouse] on usb-0000:01:00.0-1.3/input0
[ 2714.376018] usb 1-1.3: USB disconnect, device number 6
[ 2714.804629] usb 1-1.3: new low-speed USB device number 7 using xhci_hcd
[ 2714.942432] usb 1-1.3: New USB device found, idVendor=046d, idProduct=c016, bcdDevice= 3.40
[ 2714.942440] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2714.942445] usb 1-1.3: Product: Optical USB Mouse
[ 2714.942450] usb 1-1.3: Manufacturer: Logitech
[ 2714.948741] input: Logitech Optical USB Mouse as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.0/0003:046D:C016.0005/input/input6
[ 2714.949404] hid-generic 0003:046D:C016.0005: input,hidraw0: USB HID v1.10 Mouse [Logitech Optical USB Mouse] on usb-0000:01:00.0-1.3/input0
[ 2756.878346] usb 1-1.3: USB disconnect, device number 7
[ 2757.285223] usb 1-1.3: new low-speed USB device number 8 using xhci_hcd
[ 2757.433091] usb 1-1.3: New USB device found, idVendor=046d, idProduct=c016, bcdDevice= 3.40
[ 2757.433099] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2757.433104] usb 1-1.3: Product: Optical USB Mouse
[ 2757.433109] usb 1-1.3: Manufacturer: Logitech
[ 2757.443349] input: Logitech Optical USB Mouse as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.0/0003:046D:C016.0006/input/input7
[ 2757.443592] hid-generic 0003:046D:C016.0006: input,hidraw0: USB HID v1.10 Mouse [Logitech Optical USB Mouse] on usb-0000:01:00.0-1.3/input0
[ 4610.852766] usb 1-1.3: USB disconnect, device number 8
[ 4611.282470] usb 1-1.3: new low-speed USB device number 9 using xhci_hcd
[ 4611.420464] usb 1-1.3: New USB device found, idVendor=046d, idProduct=c016, bcdDevice= 3.40
[ 4611.420480] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 4611.420493] usb 1-1.3: Product: Optical USB Mouse
[ 4611.420505] usb 1-1.3: Manufacturer: Logitech
[ 4611.429719] input: Logitech Optical USB Mouse as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.0/0003:046D:C016.0007/input/input8
[ 4611.431364] hid-generic 0003:046D:C016.0007: input,hidraw0: USB HID v1.10 Mouse [Logitech Optical USB Mouse] on usb-0000:01:00.0-1.3/input0
[ 5248.132631] usb 1-1.3: USB disconnect, device number 9
[ 5248.543057] usb 1-1.3: new low-speed USB device number 10 using xhci_hcd
[ 5248.680973] usb 1-1.3: New USB device found, idVendor=046d, idProduct=c016, bcdDevice= 3.40
[ 5248.680981] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 5248.680987] usb 1-1.3: Product: Optical USB Mouse
[ 5248.680992] usb 1-1.3: Manufacturer: Logitech
[ 5248.687869] input: Logitech Optical USB Mouse as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.0/0003:046D:C016.0008/input/input9
[ 5248.688436] hid-generic 0003:046D:C016.0008: input,hidraw0: USB HID v1.10 Mouse [Logitech Optical USB Mouse] on usb-0000:01:00.0-1.3/input0
[ 5527.214171] usb 1-1.3: USB disconnect, device number 10
[ 5527.597350] usb 1-1.3: new low-speed USB device number 11 using xhci_hcd
[ 5527.735163] usb 1-1.3: New USB device found, idVendor=046d, idProduct=c016, bcdDevice= 3.40
[ 5527.735179] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 5527.735193] usb 1-1.3: Product: Optical USB Mouse
[ 5527.735205] usb 1-1.3: Manufacturer: Logitech
[ 5527.752220] input: Logitech Optical USB Mouse as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.0/0003:046D:C016.0009/input/input10
[ 5527.753720] hid-generic 0003:046D:C016.0009: input,hidraw0: USB HID v1.10 Mouse [Logitech Optical USB Mouse] on usb-0000:01:00.0-1.3/input0
[ 6226.711538] usb 1-1.3: USB disconnect, device number 11
[ 6227.117820] usb 1-1.3: new low-speed USB device number 12 using xhci_hcd
[ 6227.255719] usb 1-1.3: New USB device found, idVendor=046d, idProduct=c016, bcdDevice= 3.40
[ 6227.255727] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 6227.255733] usb 1-1.3: Product: Optical USB Mouse
[ 6227.255738] usb 1-1.3: Manufacturer: Logitech
[ 6227.264152] input: Logitech Optical USB Mouse as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.0/0003:046D:C016.000A/input/input11
[ 6227.264406] hid-generic 0003:046D:C016.000A: input,hidraw0: USB HID v1.10 Mouse [Logitech Optical USB Mouse] on usb-0000:01:00.0-1.3/input0
[ 7307.449377] usb 1-1.3: USB disconnect, device number 12
[ 7307.835944] usb 1-1.3: new low-speed USB device number 13 using xhci_hcd
[ 7307.973869] usb 1-1.3: New USB device found, idVendor=046d, idProduct=c016, bcdDevice= 3.40
[ 7307.973876] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 7307.973881] usb 1-1.3: Product: Optical USB Mouse
[ 7307.973886] usb 1-1.3: Manufacturer: Logitech
[ 7307.980159] input: Logitech Optical USB Mouse as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.0/0003:046D:C016.000B/input/input12
[ 7307.980840] hid-generic 0003:046D:C016.000B: input,hidraw0: USB HID v1.10 Mouse [Logitech Optical USB Mouse] on usb-0000:01:00.0-1.3/input0
[ 8866.211342] usb 1-1.3: USB disconnect, device number 13
[ 8866.644858] usb 1-1.3: new low-speed USB device number 14 using xhci_hcd
[ 8866.782777] usb 1-1.3: New USB device found, idVendor=046d, idProduct=c016, bcdDevice= 3.40
[ 8866.782785] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 8866.782790] usb 1-1.3: Product: Optical USB Mouse
[ 8866.782794] usb 1-1.3: Manufacturer: Logitech
[ 8866.789068] input: Logitech Optical USB Mouse as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.0/0003:046D:C016.000C/input/input13
[ 8866.789285] hid-generic 0003:046D:C016.000C: input,hidraw0: USB HID v1.10 Mouse [Logitech Optical USB Mouse] on usb-0000:01:00.0-1.3/input0
[39413.117081] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[40258.575340] usb 1-1.3: USB disconnect, device number 14
[40258.973787] usb 1-1.3: new low-speed USB device number 15 using xhci_hcd
[40259.111606] usb 1-1.3: New USB device found, idVendor=046d, idProduct=c016, bcdDevice= 3.40
[40259.111614] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[40259.111619] usb 1-1.3: Product: Optical USB Mouse
[40259.111624] usb 1-1.3: Manufacturer: Logitech
[40259.121756] input: Logitech Optical USB Mouse as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.0/0003:046D:C016.000D/input/input14
[40259.121990] hid-generic 0003:046D:C016.000D: input,hidraw0: USB HID v1.10 Mouse [Logitech Optical USB Mouse] on usb-0000:01:00.0-1.3/input0
[41435.706917] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[41944.519884] ashmem_linux: loading out-of-tree module taints kernel.
[43905.256060] new mount options do not match the existing superblock, will be ignored

EEPROM
------

BOOTLOADER: up-to-date
CURRENT: Di 10. Sep 10:41:50 UTC 2019 (1568112110)
 LATEST: Di 10. Sep 10:41:50 UTC 2019 (1568112110)
VL805: up-to-date
CURRENT: 000137ab
 LATEST: 000137ab

I think this is the right place to post this, or should I post this at anbox?

ghost commented 4 years ago
/opt/vc/include/interface/vcos/vcos_types.h:205:22: error: expected unqualified-id before ‘sizeof’
 #define countof(x) ( sizeof((x)) / sizeof((x)[0]))
                      ^~~~~~
/home/pi/anbox2/external/glm/glm/detail/setup.hpp:994:25: note: in expansion of macro ‘countof’
   constexpr std::size_t countof(T const (&)[N])
                         ^~~~~~~
/opt/vc/include/interface/vcos/vcos_types.h:205:22: error: expected ‘)’ before ‘sizeof’
 #define countof(x) ( sizeof((x)) / sizeof((x)[0]))
                    ~ ^~~~~~
/home/pi/anbox2/external/glm/glm/detail/setup.hpp:994:25: note: in expansion of macro ‘countof’
   constexpr std::size_t countof(T const (&)[N])
                         ^~~~~~~

The error

pelwell commented 4 years ago

The glm (OpenGL Mathematics) code declares a countof member functions, which is incompatible with using countof as a macro as VCOS does. countof works as expected in the userland repo, and we can't be held responsible for other uses that are less successful.