Open GetxCodexTogether opened 1 year ago
3.75ev3dev10
There is no such version. The latest version is 4.14.117-ev3dev-2.3.5-ev3
.
sudo FK_MACHINE="LEGO MINDSTORMS EV3 + lms2012-compat" flash-kernel
You will need to edit /boot/flash/uEnv.txt
instead. There is a line to uncomment to use fdtfile=da850-lego-ev3-lms2012.dtb
Thank you very much for your support.
Unfortunately, I need support again.
After commenting out the line
fdtfile=da850-lego-ev3-lms2012.dtb
in
/boot/flash/uEnv.txt
the brick does not start with a graphical interface anymore.
But with SSH access I have the same behavior as described above.
output:
Unsupported platform.
and
output:
** (process:1277): WARNING **: Could not start graphics: No supported video driver plugins found
** (process:1277): WARNING **: Falling back to memory driver
** (process:1277): ERROR **: Could not load memory driver
Trace/breakpoint trap
About renewed help I would be very happy.
Unsupported platform.
There is no need to run flash-kernel
any more, the device tree file in uEnv.txt
replaces that step.
(process:1277): WARNING : Could not start graphics: No supported video driver plugins found
Apparently we missed a dependency. You can install it with:
sudo apt install libgrx-3.0-plugin-linuxfb
Thanks for your support, Unfortunately it still doesn't work after installing the dependency. when starting sudo lms2012
output:
** (process:780): WARNING **: Could not start graphics: No supported video driver plugins found
** (process:780): WARNING **: Falling back to memory driver
** (process:780): ERROR **: Could not load memory driver
Trace/breakpoint trap
and there is also no screen on the brick. And Visual Studio output : there´s no serialnumber
thanks for your support :)
It worked for me. You can run this command for further debugging:
sudo G_MESSAGES_DEBUG=all lms2012
I'm a bit suspicious that you are not running the latest ev3dev-stretch release because of the version number you reported.
thanks again for your support
robot@ev3dev:~$ sudo G_MESSAGES_DEBUG=all lms2012
[sudo] password for robot:
** (process:1416): DEBUG: GRX_PLUGIN_PATH=/usr/lib/arm-linux-gnueabi/grx-3.0/plugins/1
** (process:1416): DEBUG: Checking GRX_DRIVER environment variable: (null)
** (process:1416): DEBUG: Trying detect
** (process:1416): DEBUG: Looking for plugin: /usr/lib/arm-linux-gnueabi/grx-3.0/plugins/1/libgrx-3.0-vdriver-gtk3.so
** (process:1416): DEBUG: /usr/lib/arm-linux-gnueabi/grx-3.0/plugins/1/libgrx-3.0-vdriver-gtk3.so: cannot open shared object file: No such file or directory
** (process:1416): DEBUG: Looking for plugin: /usr/lib/arm-linux-gnueabi/grx-3.0/plugins/1/libgrx-3.0-vdriver-linuxfb.so
** (process:1416): DEBUG: Failed to open /dev/fb0: No such file or directory
** (process:1416): DEBUG: Looking for plugin: /usr/lib/arm-linux-gnueabi/grx-3.0/plugins/1/libgrx-3.0-vdriver-memory.so
** (process:1416): DEBUG: /usr/lib/arm-linux-gnueabi/grx-3.0/plugins/1/libgrx-3.0-vdriver-memory.so: cannot open shared object file: No such file or directory
** (process:1416): WARNING **: Could not start graphics: No supported video driver plugins found
** (process:1416): WARNING **: Falling back to memory driver
** (process:1416): DEBUG: GRX_PLUGIN_PATH=/usr/lib/arm-linux-gnueabi/grx-3.0/plugins/1
** (process:1416): DEBUG: Looking for plugin: /usr/lib/arm-linux-gnueabi/grx-3.0/plugins/1/libgrx-3.0-vdriver-memory.so
** (process:1416): DEBUG: /usr/lib/arm-linux-gnueabi/grx-3.0/plugins/1/libgrx-3.0-vdriver-memory.so: cannot open shared object file: No such file or directory
** (process:1416): ERROR **: Could not load memory driver
Trace/breakpoint trap
it looks like something else is missing. i think i am on the latest version, am I ?
========== ev3dev-sysinfo ==========
Image file: ev3dev-stretch-ev3-generic-2020-04-10
Kernel version: 4.14.117-ev3dev-2.3.5-ev3
Brickman: 0.10.3
BogoMIPS: 148.88
Bluetooth:
Board: *
cat: '/sys/class/board-info/*/uevent': No such file or directory
Version looks good.
I guess the device tree isn't loading correctly. If the file da850-lego-ev3-lms2012.dtb
is not in /boot/flash/
, you can copy it there with:
sudo cp /usr/lib/linux-image-4.14.117-ev3dev-2.3.5-ev3/da850-lego-ev3-lms2012.dtb /boot/flash/
I don't really remember where it is supposed to go though.
You can also look a the kernel logs by running dmesg
.
robot@ev3dev:~$ sudo G_MESSAGES_DEBUG=all lms2012
[sudo] password for robot:
** (process:782): DEBUG: GRX_PLUGIN_PATH=/usr/lib/arm-linux-gnueabi/grx-3.0/plugins/1
** (process:782): DEBUG: Checking GRX_DRIVER environment variable: (null)
** (process:782): DEBUG: Trying detect
** (process:782): DEBUG: Looking for plugin: /usr/lib/arm-linux-gnueabi/grx-3.0/plugins/1/libgrx-3.0-vdriver-gtk3.so
** (process:782): DEBUG: /usr/lib/arm-linux-gnueabi/grx-3.0/plugins/1/libgrx-3.0-vdriver-gtk3.so: cannot open shared object file: No such file or directory
** (process:782): DEBUG: Looking for plugin: /usr/lib/arm-linux-gnueabi/grx-3.0/plugins/1/libgrx-3.0-vdriver-linuxfb.so
** (process:782): DEBUG: Failed to open /dev/fb0: No such file or directory
** (process:782): DEBUG: Looking for plugin: /usr/lib/arm-linux-gnueabi/grx-3.0/plugins/1/libgrx-3.0-vdriver-memory.so
** (process:782): DEBUG: /usr/lib/arm-linux-gnueabi/grx-3.0/plugins/1/libgrx-3.0-vdriver-memory.so: cannot open shared object file: No such file or directory
** (process:782): WARNING **: Could not start graphics: No supported video driver plugins found
** (process:782): WARNING **: Falling back to memory driver
** (process:782): DEBUG: GRX_PLUGIN_PATH=/usr/lib/arm-linux-gnueabi/grx-3.0/plugins/1
** (process:782): DEBUG: Looking for plugin: /usr/lib/arm-linux-gnueabi/grx-3.0/plugins/1/libgrx-3.0-vdriver-memory.so
** (process:782): DEBUG: /usr/lib/arm-linux-gnueabi/grx-3.0/plugins/1/libgrx-3.0-vdriver-memory.so: cannot open shared object file: No such file or directory
** (process:782): ERROR **: Could not load memory driver
Trace/breakpoint trap
and
robot@ev3dev:~$ dmesg
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.14.117-ev3dev-2.3.5-ev3 (david@freyr) (gcc version 6.4.1 20171012 (Linaro GCC 6.4-2017.11)) #1 PREEMPT Sat Mar 7 12:54:39 CST 2020
[ 0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000] OF: fdt: Machine model: LEGO MINDSTORMS EV3 + lms2012-compat
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] DaVinci da850/omap-l138/am18x variant 0x1
[ 0.000000] On node 0 totalpages: 16384
[ 0.000000] free_area_init_node: node 0, pgdat c07081e0, node_mem_map c3f79000
[ 0.000000] DMA zone: 128 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 16384 pages, LIFO batch:3
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16256
[ 0.000000] Kernel command line: console=tty1
[ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Memory: 53580K/65536K available (5071K kernel code, 259K rwdata, 1660K rodata, 172K init, 158K bss, 11956K reserved, 0K cma-reserved)
[ 0.000000] Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xc4800000 - 0xff800000 ( 944 MB)
lowmem : 0xc0000000 - 0xc4000000 ( 64 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.text : 0xc0008000 - 0xc04fc3c8 (5073 kB)
.init : 0xc069d000 - 0xc06c8000 ( 172 kB)
.data : 0xc06c8000 - 0xc0708ca0 ( 260 kB)
.bss : 0xc070d854 - 0xc073542c ( 159 kB)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] Tasks RCU enabled.
[ 0.000000] NR_IRQS: 325
[ 0.000000] clocksource: timer0_1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[ 0.000563] Console: colour dummy device 80x30
[ 0.002437] console [tty1] enabled
[ 0.002593] Calibrating delay loop... 148.88 BogoMIPS (lpj=744448)
[ 0.070254] pid_max: default: 32768 minimum: 301
[ 0.070911] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.071106] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.073908] CPU: Testing write buffer coherency: ok
[ 0.076927] Setting up static identity map for 0xc0008400 - 0xc000843c
[ 0.077686] Hierarchical SRCU implementation.
[ 0.081866] devtmpfs: initialized
[ 0.100395] random: get_random_u32 called from bucket_table_alloc+0x14c/0x198 with crng_init=0
[ 0.102490] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.102774] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.103519] pinctrl core: initialized pinctrl subsystem
[ 0.106614] NET: Registered protocol family 16
[ 0.108219] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.111331] cpuidle: using governor menu
[ 0.189214] edma 1c00000.edma: memcpy is disabled
[ 0.202877] edma 1c00000.edma: TI EDMA DMA engine driver
[ 0.204077] edma 1e30000.edma: memcpy is disabled
[ 0.217191] edma 1e30000.edma: TI EDMA DMA engine driver
[ 0.221030] adc_ref: supplied by vcc5v
[ 0.224047] SCSI subsystem initialized
[ 0.224721] usbcore: registered new interface driver usbfs
[ 0.225175] usbcore: registered new interface driver hub
[ 0.225765] usbcore: registered new device driver usb
[ 0.230809] Advanced Linux Sound Architecture Driver Initialized.
[ 0.232917] Bluetooth: Core ver 2.22
[ 0.233215] NET: Registered protocol family 31
[ 0.233339] Bluetooth: HCI device and connection manager initialized
[ 0.233496] Bluetooth: HCI socket layer initialized
[ 0.233663] Bluetooth: L2CAP socket layer initialized
[ 0.233799] Bluetooth: SCO socket layer initialized
[ 0.235701] clocksource: Switched to clocksource timer0_1
[ 0.291380] NET: Registered protocol family 2
[ 0.294683] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.294948] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.295117] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.295612] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.296060] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.296961] NET: Registered protocol family 1
[ 0.298496] Unpacking initramfs...
[ 0.725850] random: fast init done
[ 1.872977] Freeing initrd memory: 3896K
[ 1.878170] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[ 1.942514] io scheduler noop registered (default)
[ 1.942686] io scheduler mq-deadline registered
[ 1.942783] io scheduler kyber registered
[ 1.944924] i2c-legoev3 i2c-legoev3.3: registered on input port 1
[ 1.947252] i2c-legoev3 i2c-legoev3.4: registered on input port 2
[ 1.948313] i2c-legoev3 i2c-legoev3.5: registered on input port 3
[ 1.949357] i2c-legoev3 i2c-legoev3.6: registered on input port 4
[ 1.962056] pinctrl-single 1c14120.pinmux: 160 pins at pa fec14120 size 80
[ 1.971787] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[ 1.978407] serial8250.0: ttyS0 at MMIO 0x1c42000 (irq = 25, base_baud = 9375000) is a TI DA8xx/66AK2x
[ 1.981379] serial8250.1: ttyS1 at MMIO 0x1d0c000 (irq = 53, base_baud = 8250000) is a TI DA8xx/66AK2x
[ 1.984366] serial8250.2: ttyS2 at MMIO 0x1d0d000 (irq = 61, base_baud = 8250000) is a TI DA8xx/66AK2x
[ 2.002171] loop: module loaded
[ 2.004621] zram: Added device: zram0
[ 2.006409] at24 0-0050: 16384 byte 24c128 EEPROM, read-only, 0 bytes/write
[ 2.012724] st7586 spi0.0: Failed to get gpio 'reset'
[ 2.012976] st7586: probe of spi0.0 failed with error -2
[ 2.013190] spi_davinci spi_davinci.1: Controller at 0xfef0e000
[ 2.014770] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 2.014946] ohci-da8xx: DA8XX
[ 2.016144] ohci-da8xx ohci-da8xx: USB Host Controller
[ 2.017269] ohci-da8xx ohci-da8xx: new USB bus registered, assigned bus number 1
[ 2.018196] ohci-da8xx ohci-da8xx: irq 59, io mem 0x01e25000
[ 2.090895] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
[ 2.091096] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.091242] usb usb1: Product: USB Host Controller
[ 2.091352] usb usb1: Manufacturer: Linux 4.14.117-ev3dev-2.3.5-ev3 ohci_hcd
[ 2.091481] usb usb1: SerialNumber: ohci-da8xx
[ 2.094180] hub 1-0:1.0: USB hub found
[ 2.094563] hub 1-0:1.0: 1 port detected
[ 2.097978] usbcore: registered new interface driver usb-storage
[ 2.099835] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[ 2.128673] i2c /dev entries driver
[ 2.134669] davinci-wdt davinci-wdt: heartbeat 60 sec
[ 2.137117] Bluetooth: HCI UART driver ver 2.3
[ 2.137284] Bluetooth: HCI UART protocol H4 registered
[ 2.137388] Bluetooth: HCI UART protocol BCSP registered
[ 2.138213] Bluetooth: HCI UART protocol LL registered
[ 2.140231] davinci_mmc da830-mmc.0: Got CD GPIO
[ 2.197289] davinci_mmc da830-mmc.0: Using DMA, 4-bit mode
[ 2.206406] hidraw: raw HID events driver (C) Jiri Kosina
[ 2.208909] usbcore: registered new interface driver usbhid
[ 2.211250] usbhid: USB HID core driver
[ 2.211887] usbcore: registered new interface driver r8712u
[ 2.219322] NET: Registered protocol family 10
[ 2.224479] Segment Routing with IPv6
[ 2.224961] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 2.228509] NET: Registered protocol family 17
[ 2.228757] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 2.228917] Bluetooth: BNEP socket layer initialized
[ 2.238000] input: LEGO MINDSTORMS EV3 Speaker as /devices/platform/sound/input/input0
[ 2.243770] input: EV3 brick buttons as /devices/platform/gpio_keys/input/input1
[ 2.247257] adc_ref: disabling
[ 2.247405] ALSA device list:
[ 2.247493] #0: LEGO MINDSTORMS EV3 Speaker connected to ehrpwm.0
[ 2.249294] mmc0: host does not support reading read-only switch, assuming write-enable
[ 2.250321] Freeing unused kernel memory: 172K
[ 2.250443] This architecture does not have kernel memory protection.
[ 2.252877] mmc0: new high speed SDHC card at address aaaa
[ 2.256334] mmcblk0: mmc0:aaaa SC16G 14.8 GiB
[ 2.269708] mmcblk0: p1 p2
[ 2.516061] usb 1-1: new full-speed USB device number 2 using ohci-da8xx
[ 2.576348] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[ 2.580268] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[ 2.647769] random: udevadm: uninitialized urandom read (16 bytes read)
[ 2.789220] usb 1-1: New USB device found, idVendor=7392, idProduct=7811
[ 2.789434] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2.789580] usb 1-1: Product: 802.11n WLAN Adapter
[ 2.789685] usb 1-1: Manufacturer: Realtek
[ 2.789777] usb 1-1: SerialNumber: 00e04c000001
[ 13.012599] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 14.083769] systemd[1]: System time before build time, advancing clock.
[ 14.182792] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 14.252966] systemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
[ 14.256886] systemd[1]: Detected architecture arm.
[ 14.267025] systemd[1]: Set hostname to <ev3dev>.
[ 16.632723] systemd[1]: openrobertalab.service: Cannot add dependency job, ignoring: Unit openrobertalab.service is masked.
[ 16.662175] systemd[1]: Listening on udev Kernel Socket.
[ 16.667999] systemd[1]: Listening on udev Control Socket.
[ 16.672791] systemd[1]: Created slice System Slice.
[ 16.675543] systemd[1]: dev-hugepages.mount: Couldn't determine result for ConditionVirtualization=!private-users, assuming failed: No such file or directory
[ 16.678404] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[ 16.728675] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 17.944434] zram0: detected capacity change from 0 to 100663296
[ 18.438133] RPC: Registered named UNIX socket transport module.
[ 18.438317] RPC: Registered udp transport module.
[ 18.438410] RPC: Registered tcp transport module.
[ 18.438488] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 19.386363] systemd[1]: Mounted RPC Pipe File System.
[ 19.388846] systemd[1]: Mounted POSIX Message Queue File System.
[ 19.545390] Adding 98300k swap on /dev/zram0. Priority:16383 extents:1 across:98300k SS
[ 19.599020] systemd[1]: Mounted Configuration File System.
[ 19.968390] systemd[1]: Started swap with zram.
[ 19.974659] systemd[1]: Started File System Check on Root Device.
[ 20.060397] systemd[1]: Started Restore / save the current clock.
[ 20.166411] systemd[1]: Started Apply Kernel Variables.
[ 20.443242] systemd[1]: Time has been changed
[ 20.528553] systemd[1]: Starting Remount Root and Kernel File Systems...
[ 20.531513] systemd[1]: Reached target Swap.
[ 21.329775] EXT4-fs (mmcblk0p2): re-mounted. Opts: errors=remount-ro
[ 23.332951] systemd-journald[133]: Received request to flush runtime journal from PID 1
[ 23.367613] systemd-journald[133]: File /var/log/journal/0a8ffb6d314b403ab9cb5dc4ba3f599d/system.journal corrupted or uncleanly shut down, renaming and replacing.
[ 31.765063] lms2012-compat lms2012-compat: Registered lms2012-compat
[ 39.654030] random: crng init done
[ 39.654087] random: 7 urandom warning(s) missed due to ratelimiting
[ 40.246587] usbcore: registered new interface driver rtl8192cu
[ 41.176305] d_iic registered
[ 41.182097] d_uart registered
[ 41.207827] d_analog registered
[ 41.293437] d_pwm registered
It looks like the device tree was picked up properly (e.g. d_pwm registered). I'm not sure why the display driver isn't working though (it is the reason for the missing /dev/fb0
).
2.012724] st7586 spi0.0: Failed to get gpio 'reset' [ 2.012976] st7586: probe of spi0.0 failed with error -2
Ah, here is the reason.
I do not have another Components connected to the brick, except for the WLAN stick.
It looks like the lms2012 device tree didn't get updated properly.
should look like
So basically you would need to fix the device tree source file and compile it and replace it on the EV3.
Or you could try to find an older ev3dev image from before it broke.
Do you have a download link with an older image for me?
Which one do you recomend?, (evb-ev3dev-jessie-2016-01-25) ?
ev3dev-stretch beta 1
or the last jessie one
Im on:
========== ev3dev-sysinfo ==========
Image file: ev3dev-stretch-ev3-generic-2018-08-06
Kernel version: 4.14.61-ev3dev-2.2.2-ev3
Brickman: 0.10.0
BogoMIPS: 148.88
Board: *
cat: '/sys/class/board-info/*/uevent': No such file or directory
now:
robot@ev3dev:~$ sudo G_MESSAGES_DEBUG=all lms2012
[sudo] password for robot:
** (process:915): DEBUG: GRX_PLUGIN_PATH=/usr/lib/arm-linux-gnueabi/grx-3.0/plugins/1
** (process:915): DEBUG: Checking GRX_DRIVER environment variable: (null)
** (process:915): DEBUG: Trying detect
** (process:915): DEBUG: Looking for plugin: /usr/lib/arm-linux-gnueabi/grx-3.0/plugins/1/libgrx-3.0-vdriver-gtk3.so
** (process:915): DEBUG: /usr/lib/arm-linux-gnueabi/grx-3.0/plugins/1/libgrx-3.0-vdriver-gtk3.so: cannot open shared object file: No such file or directory
** (process:915): DEBUG: Looking for plugin: /usr/lib/arm-linux-gnueabi/grx-3.0/plugins/1/libgrx-3.0-vdriver-linuxfb.so
** (process:915): DEBUG: Failed to open /dev/fb0: No such file or directory
** (process:915): DEBUG: Looking for plugin: /usr/lib/arm-linux-gnueabi/grx-3.0/plugins/1/libgrx-3.0-vdriver-memory.so
** (process:915): DEBUG: /usr/lib/arm-linux-gnueabi/grx-3.0/plugins/1/libgrx-3.0-vdriver-memory.so: cannot open shared object file: No such file or directory
** (process:915): WARNING **: Could not start graphics: No supported video driver plugins found
** (process:915): WARNING **: Falling back to memory driver
** (process:915): DEBUG: GRX_PLUGIN_PATH=/usr/lib/arm-linux-gnueabi/grx-3.0/plugins/1
** (process:915): DEBUG: Looking for plugin: /usr/lib/arm-linux-gnueabi/grx-3.0/plugins/1/libgrx-3.0-vdriver-memory.so
** (process:915): DEBUG: /usr/lib/arm-linux-gnueabi/grx-3.0/plugins/1/libgrx-3.0-vdriver-memory.so: cannot open shared object file: No such file or directory
** (process:915): ERROR **: Could not load memory driver
Trace/breakpoint trap
and
robot@ev3dev:~$ dmesg
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.14.61-ev3dev-2.2.2-ev3 (david@freyr) (gcc version 6.4.1 20171012 (Linaro GCC 6.4-2017.11)) #1 PREEMPT Mon Aug 6 14:22:31 CDT 2018
[ 0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000] OF: fdt: Machine model: LEGO MINDSTORMS EV3 + lms2012-compat
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] DaVinci da850/omap-l138/am18x variant 0x1
[ 0.000000] On node 0 totalpages: 16384
[ 0.000000] free_area_init_node: node 0, pgdat c06dd240, node_mem_map c3f79000
[ 0.000000] DMA zone: 128 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 16384 pages, LIFO batch:3
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16256
[ 0.000000] Kernel command line: console=tty1
[ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Memory: 53752K/65536K available (5010K kernel code, 255K rwdata, 1556K rodata, 172K init, 166K bss, 11784K reserved, 0K cma-reserved)
[ 0.000000] Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xc4800000 - 0xff800000 ( 944 MB)
lowmem : 0xc0000000 - 0xc4000000 ( 64 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.text : 0xc0008000 - 0xc04ece28 (5012 kB)
.init : 0xc0673000 - 0xc069e000 ( 172 kB)
.data : 0xc069e000 - 0xc06ddce0 ( 256 kB)
.bss : 0xc06e26d8 - 0xc070c294 ( 167 kB)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] Tasks RCU enabled.
[ 0.000000] NR_IRQS: 325
[ 0.000000] clocksource: timer0_1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[ 0.000553] Console: colour dummy device 80x30
[ 0.002398] console [tty1] enabled
[ 0.002557] Calibrating delay loop... 148.88 BogoMIPS (lpj=744448)
[ 0.070263] pid_max: default: 32768 minimum: 301
[ 0.070930] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.071116] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.073887] CPU: Testing write buffer coherency: ok
[ 0.076962] Setting up static identity map for 0xc0008400 - 0xc000843c
[ 0.077727] Hierarchical SRCU implementation.
[ 0.081926] devtmpfs: initialized
[ 0.102249] random: get_random_u32 called from bucket_table_alloc+0x14c/0x198 with crng_init=0
[ 0.104314] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.104587] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.105349] pinctrl core: initialized pinctrl subsystem
[ 0.108281] NET: Registered protocol family 16
[ 0.109878] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.113048] cpuidle: using governor menu
[ 0.193844] edma 1c00000.edma: memcpy is disabled
[ 0.207392] edma 1c00000.edma: TI EDMA DMA engine driver
[ 0.208609] edma 1e30000.edma: memcpy is disabled
[ 0.222620] edma 1e30000.edma: TI EDMA DMA engine driver
[ 0.226221] adc_ref: supplied by vcc5v
[ 0.229183] SCSI subsystem initialized
[ 0.229902] usbcore: registered new interface driver usbfs
[ 0.230608] usbcore: registered new interface driver hub
[ 0.231156] usbcore: registered new device driver usb
[ 0.235897] Advanced Linux Sound Architecture Driver Initialized.
[ 0.237978] Bluetooth: Core ver 2.22
[ 0.238272] NET: Registered protocol family 31
[ 0.238386] Bluetooth: HCI device and connection manager initialized
[ 0.238543] Bluetooth: HCI socket layer initialized
[ 0.238716] Bluetooth: L2CAP socket layer initialized
[ 0.238853] Bluetooth: SCO socket layer initialized
[ 0.241014] clocksource: Switched to clocksource timer0_1
[ 0.297721] NET: Registered protocol family 2
[ 0.301271] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.301531] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.301703] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.302235] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.302441] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.303311] NET: Registered protocol family 1
[ 0.304842] Unpacking initramfs...
[ 0.741030] random: fast init done
[ 1.888247] Freeing initrd memory: 3888K
[ 1.893439] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[ 1.957099] io scheduler noop registered (default)
[ 1.957258] io scheduler mq-deadline registered
[ 1.957349] io scheduler kyber registered
[ 1.959519] i2c-legoev3 i2c-legoev3.3: registered on input port 1
[ 1.960567] i2c-legoev3 i2c-legoev3.4: registered on input port 2
[ 1.962833] i2c-legoev3 i2c-legoev3.5: registered on input port 3
[ 1.963888] i2c-legoev3 i2c-legoev3.6: registered on input port 4
[ 1.975005] pinctrl-single 1c14120.pinmux: 160 pins at pa fec14120 size 80
[ 1.984913] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[ 1.991497] serial8250.0: ttyS0 at MMIO 0x1c42000 (irq = 25, base_baud = 9375000) is a TI DA8xx/66AK2x
[ 1.994488] serial8250.1: ttyS1 at MMIO 0x1d0c000 (irq = 53, base_baud = 8250000) is a TI DA8xx/66AK2x
[ 1.997497] serial8250.2: ttyS2 at MMIO 0x1d0d000 (irq = 61, base_baud = 8250000) is a TI DA8xx/66AK2x
[ 2.015591] loop: module loaded
[ 2.017961] zram: Added device: zram0
[ 2.019388] at24 0-0050: 16384 byte 24c128 EEPROM, read-only, 0 bytes/write
[ 2.026162] st7586 spi0.0: Failed to get gpio 'reset'
[ 2.026407] st7586: probe of spi0.0 failed with error -2
[ 2.026613] spi_davinci spi_davinci.1: Controller at 0xfef0e000
[ 2.028228] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 2.028391] ohci-da8xx: DA8XX
[ 2.029509] ohci-da8xx ohci-da8xx: USB Host Controller
[ 2.030544] ohci-da8xx ohci-da8xx: new USB bus registered, assigned bus number 1
[ 2.031611] ohci-da8xx ohci-da8xx: irq 59, io mem 0x01e25000
[ 2.106195] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
[ 2.106387] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.106522] usb usb1: Product: USB Host Controller
[ 2.106622] usb usb1: Manufacturer: Linux 4.14.61-ev3dev-2.2.2-ev3 ohci_hcd
[ 2.106741] usb usb1: SerialNumber: ohci-da8xx
[ 2.109537] hub 1-0:1.0: USB hub found
[ 2.109951] hub 1-0:1.0: 1 port detected
[ 2.113394] usbcore: registered new interface driver usb-storage
[ 2.115231] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[ 2.144045] i2c /dev entries driver
[ 2.150231] davinci-wdt davinci-wdt: heartbeat 60 sec
[ 2.152707] Bluetooth: HCI UART driver ver 2.3
[ 2.152864] Bluetooth: HCI UART protocol H4 registered
[ 2.152960] Bluetooth: HCI UART protocol BCSP registered
[ 2.153727] Bluetooth: HCI UART protocol LL registered
[ 2.155778] davinci_mmc da830-mmc.0: Got CD GPIO
[ 2.212620] davinci_mmc da830-mmc.0: Using DMA, 4-bit mode
[ 2.221948] hidraw: raw HID events driver (C) Jiri Kosina
[ 2.226683] usbcore: registered new interface driver usbhid
[ 2.226921] usbhid: USB HID core driver
[ 2.227421] usbcore: registered new interface driver r8712u
[ 2.234783] NET: Registered protocol family 10
[ 2.239836] Segment Routing with IPv6
[ 2.240364] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 2.243959] NET: Registered protocol family 17
[ 2.244199] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 2.244354] Bluetooth: BNEP socket layer initialized
[ 2.253556] input: LEGO MINDSTORMS EV3 Speaker as /devices/platform/sound/input/input0
[ 2.259507] input: EV3 brick buttons as /devices/platform/gpio_keys/input/input1
[ 2.262664] adc_ref: disabling
[ 2.262799] ALSA device list:
[ 2.262882] #0: LEGO MINDSTORMS EV3 Speaker connected to ehrpwm.0
[ 2.264470] mmc0: host does not support reading read-only switch, assuming write-enable
[ 2.265696] Freeing unused kernel memory: 172K
[ 2.265822] This architecture does not have kernel memory protection.
[ 2.267916] mmc0: new high speed SDHC card at address aaaa
[ 2.271704] mmcblk0: mmc0:aaaa SC16G 14.8 GiB
[ 2.276073] mmcblk0: p1 p2
[ 2.531371] usb 1-1: new full-speed USB device number 2 using ohci-da8xx
[ 2.579800] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[ 2.594485] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[ 2.663426] random: udevadm: uninitialized urandom read (16 bytes read)
[ 2.804521] usb 1-1: New USB device found, idVendor=7392, idProduct=7811
[ 2.804724] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2.804860] usb 1-1: Product: 802.11n WLAN Adapter
[ 2.804959] usb 1-1: Manufacturer: Realtek
[ 2.805047] usb 1-1: SerialNumber: 00e04c000001
[ 13.174224] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 14.229318] systemd[1]: System time before build time, advancing clock.
[ 14.325090] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 14.392561] systemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
[ 14.396023] systemd[1]: Detected architecture arm.
[ 14.416957] systemd[1]: Set hostname to <ev3dev>.
[ 16.759225] systemd[1]: openrobertalab.service: Cannot add dependency job, ignoring: Unit openrobertalab.service is masked.
[ 16.787757] systemd[1]: Listening on fsck to fsckd communication Socket.
[ 16.793718] systemd[1]: Listening on Journal Socket (/dev/log).
[ 16.798299] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ 16.862431] systemd[1]: Listening on udev Kernel Socket.
[ 16.866377] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[ 16.871485] systemd[1]: Listening on Journal Socket.
[ 18.010470] zram0: detected capacity change from 0 to 100663296
[ 18.113731] RPC: Registered named UNIX socket transport module.
[ 18.113902] RPC: Registered udp transport module.
[ 18.113992] RPC: Registered tcp transport module.
[ 18.114068] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 19.295992] Adding 98300k swap on /dev/zram0. Priority:16383 extents:1 across:98300k SS
[ 19.498076] systemd[1]: Starting Create Static Device Nodes in /dev...
[ 20.060792] systemd[1]: Mounted Configuration File System.
[ 20.155203] systemd[1]: Started swap with zram.
[ 20.208150] systemd[1]: Started File System Check on Root Device.
[ 20.255089] systemd[1]: Started Apply Kernel Variables.
[ 20.479121] systemd[1]: Starting Remount Root and Kernel File Systems...
[ 20.542634] systemd[1]: Reached target Swap.
[ 20.807897] systemd[1]: Started Create Static Device Nodes in /dev.
[ 20.879208] systemd[1]: Starting udev Kernel Device Manager...
[ 21.401714] EXT4-fs (mmcblk0p2): re-mounted. Opts: errors=remount-ro
[ 21.556709] systemd[1]: Started Remount Root and Kernel File Systems.
[ 23.439080] systemd-journald[145]: Received request to flush runtime journal from PID 1
[ 31.164235] lms2012-compat lms2012-compat: Registered lms2012-compat
[ 39.275352] random: crng init done
[ 39.275406] random: 7 urandom warning(s) missed due to ratelimiting
[ 39.743045] usbcore: registered new interface driver rtl8192cu
[ 40.892455] d_pwm registered
[ 40.894086] d_iic registered
[ 40.923865] d_analog registered
[ 40.974200] d_uart registered
[ 42.010796] rtl8192cu 1-1:1.0 wlx74da386e4be6: renamed from wlan0
[ 52.155788] using random self ethernet address
[ 52.155840] using random host ethernet address
[ 53.127831] using random self ethernet address
[ 53.127884] using random host ethernet address
for me it looks like the same mistake?
[ 2.026162] st7586 spi0.0: Failed to get gpio 'reset'
[ 2.026407] st7586: probe of spi0.0 failed with error -2
4.14.61-ev3dev-2.2.2-ev3
This is probably too new of a kernel and has the same breaking change.
So with the version:
========== ev3dev-sysinfo ==========
Image file: ev3dev-jessie-ev3-generic-2017-09-14
Kernel version: 4.4.87-22-ev3dev-ev3
the GUI of lms2012 opens and seems ok so far.
Unfortunately, no sensors and motors are detected. No Project is runnable and EV3-G does not recognize the Brick, too.
This version might need the flash-kernel
command to change the drivers to get motor and sensors working.
I try to make "sudo lms2012 " to run,
output:
(process:1277): WARNING : Could not start graphics: No supported video driver plugins found
(process:1277): WARNING : Falling back to memory driver
(process:1277): ERROR : Could not load memory driver Trace/breakpoint trap
if I try running: sudo FK_MACHINE="LEGO MINDSTORMS EV3 + lms2012-compat" flash-kernel
output: Unsupported platform.
I have updated everything with "sudo apt update && sudo apt install lms2012-compat" before I tried it.
I am on Kernel-Version: Version: 3.75ev3dev10
Maybe it is a dublicate to #1050
I am grateful for any help :)