Jump to content

help with program corrupting.


mikolp123

Recommended Posts

a while back I created my own Armbian environment for the Orange PI Pc that uses Xstart to run a custom .exe I created. the Program uses Uart to communicate with an external Pic chip. the program has been running well and have not had any problems with it. I created a .img of the environment and have been disabusing copies. however recently ( about 2 months after ) I have been told that some of them have been crashing and digging into it I noticed is was Uart communication failing. A temporary solution has been replacing the SD card with a new one but this does not fix the issue of this happening in the first place. I have attached the Uboot of both the failing program and working one. any help is greatly appreciated, thank you. 

 

here is the U boot for the program that is failing 

 

Spoiler
U-Boot 2021.10-armbian (Apr 14 2022 - 11:51:40 -0700) Allwinner Technology

CPU:   Allwinner H3 (SUN8I 1680)
Model: Xunlong Orange Pi PC
DRAM:  1 GiB
MMC:   mmc@1c0f000: 0
Loading Environment from FAT... Unable to use mmc 0:1... In:    serial@1c28000
Out:   serial@1c28000
Err:   serial@1c28000
Net:   phy interface0
eth0: ethernet@1c30000
starting USB...
Bus usb@1c1a000: USB EHCI 1.00
Bus usb@1c1a400: USB OHCI 1.0
Bus usb@1c1b000: USB EHCI 1.00
Bus usb@1c1b400: USB OHCI 1.0
Bus usb@1c1c000: USB EHCI 1.00
Bus usb@1c1c400: USB OHCI 1.0
Bus usb@1c1d000: USB EHCI 1.00
Bus usb@1c1d400: USB OHCI 1.0
scanning bus usb@1c1a000 for devices... 1 USB Device(s) found
scanning bus usb@1c1a400 for devices... 1 USB Device(s) found
scanning bus usb@1c1b000 for devices... 2 USB Device(s) found
scanning bus usb@1c1b400 for devices... 1 USB Device(s) found
scanning bus usb@1c1c000 for devices... 1 USB Device(s) found
scanning bus usb@1c1c400 for devices... 1 USB Device(s) found
scanning bus usb@1c1d000 for devices... 1 USB Device(s) found
scanning bus usb@1c1d400 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
Autoboot in 1 seconds, press <Space> to stop
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot/boot.scr
3934 bytes read in 4 ms (960 KiB/s)
## Executing script at 43100000
U-boot loaded from SD
Boot script loaded from mmc
373 bytes read in 4 ms (90.8 KiB/s)
4957545 bytes read in 211 ms (22.4 MiB/s)
7482424 bytes read in 316 ms (22.6 MiB/s)
Found mainline kernel configuration
29890 bytes read in 13 ms (2.2 MiB/s)
Failed to load '/boot/dtb/overlay/-fixup.scr'
Kernel image @ 0x42000000 [ 0x000000 - 0x722c38 ]
## Loading init Ramdisk from Legacy Image at 43400000 ...
   Image Name:   uInitrd
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    4957481 Bytes = 4.7 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 43000000
   Booting using the fdt blob at 0x43000000
EHCI failed to shut down host controller.
   Loading Ramdisk to 49b45000, end 49fff529 ... OK
   Loading Device Tree to 49ad5000, end 49b44fff ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Loading, please wait...
starting version 232
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... Scanning for Btrfs filesystems
done.
Begin: Will now check root file system ... fsck from util-linux 2.29.2
[/sbin/fsck.ext4 (1) -- /dev/mmcblk0p1] fsck.ext4 -a -C0 /dev/mmcblk0p1
/dev/mmcblk0p1: clean, 94280/233856 files, 730844/931328 blocks
done.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.

Welcome to Debian GNU/Linux 9 (stretch)!

[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Listening on udev Kernel Socket.
[  OK  ] Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket.
[  OK  ] Created slice System Slice.
         Starting Restore / save the current clock...
         Starting Load Kernel Modules...
         Starting Nameserver information manager...
[  OK  ] Set up automount Arbitrary Executab…rmats File System Automount Point.
[  OK  ] Listening on Journal Audit Socket.
         Starting Journal Service...
[  OK  ] Listening on udev Control Socket.
[  OK  ] Reached target Swap.
[  OK  ] Listening on fsck to fsckd communication Socket.
         Starting Remount Root and Kernel File Systems...
[  OK  ] Created slice User and Session Slice.
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Created slice system-getty.slice.
[  OK  ] Reached target Remote File Systems.
         Starting Create list of required st…ce nodes for the current kernel...
[  OK  ] Reached target Slices.
         Starting Set the console keyboard layout...
         Mounting POSIX Message Queue File System...
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Reached target Encrypted Volumes.
         Mounting Debug File System...
[  OK  ] Mounted Debug File System.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Started Journal Service.
[  OK  ] Started Restore / save the current clock.
[  OK  ] Started Load Kernel Modules.
[  OK  ] Started Remount Root and Kernel File Systems.
[  OK  ] Started Create list of required sta…vice nodes for the current kernel.
[  OK  ] Started Nameserver information manager.
         Starting Create Static Device Nodes in /dev...
         Starting udev Coldplug all Devices...
         Starting Load/Save Random Seed...
         Mounting Configuration File System...
         Starting Apply Kernel Variables...
         Starting Flush Journal to Persistent Storage...
[  OK  ] Mounted Configuration File System.
[  OK  ] Started Set the console keyboard layout.
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Started Create Static Device Nodes in /dev.
[  OK  ] Started Flush Journal to Persistent Storage.
         Starting udev Kernel Device Manager...
[  OK  ] Reached target Local File Systems (Pre).
         Mounting /tmp...
[  OK  ] Mounted /tmp.
[  OK  ] Reached target Local File Systems.
         Starting Set console font and keymap...
         Starting Create Volatile Files and Directories...
[  OK  ] Started Set console font and keymap.
[  OK  ] Started Create Volatile Files and Directories.
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Started Entropy daemon using the HAVEGE algorithm.
[  OK  ] Reached target System Time Synchronized.
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Started udev Coldplug all Devices.
[  OK  ] Reached target System Initialization.
[  OK  ] Listening on CUPS Scheduler.
[  OK  ] Listening on D-Bus System Message Bus Socket.
         Starting Armbian hardware optimization...
         Starting Armbian hardware monitoring...
[  OK  ] Started CUPS Scheduler.
[  OK  ] Reached target Paths.
[  OK  ] Listening on UUID daemon activation socket.
[  OK  ] Reached target Sockets.
[  OK  ] Started Daily apt download activities.
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timers.
[  OK  ] Started Armbian hardware monitoring.
[  OK  ] Started Armbian hardware optimization.
[  OK  ] Reached target Basic System.
[  OK  ] Started Regular background program processing daemon.
         Starting LSB: Start/stop sysstat's sadc...
[  OK  ] Started CUPS Scheduler.
         Starting LSB: Load kernel modules needed to enable cpufreq scaling...
         Starting Permit User Sessions...
[  OK  ] Started D-Bus System Message Bus.
[  OK  ] Started Unattended Upgrades Shutdown.
[ INFO ] Network Manager is not active.
[DEPEND] Dependency failed for Network Manager Wait Online.
[  OK  ] Reached target Network is Online.
         Starting /etc/rc.local Compatibility...
         Starting LSB: Advanced IEEE 802.11 management daemon...
         Starting Login Service...
         Starting LSB: Speech Dispatcher...
         Starting LSB: Start NTP daemon...
[  OK  ] Started Permit User Sessions.
[  OK  ] Started /etc/rc.local Compatibility.
[  OK  ] Started LSB: Advanced IEEE 802.11 management daemon.
[  OK  ] Started LSB: Start/stop sysstat's sadc.
[  OK  ] Started LSB: Speech Dispatcher.
[  OK  ] Started LSB: Load kernel modules needed to enable cpufreq scaling.
[  OK  ] Started LSB: Start NTP daemon.
[  OK  ] Reached target Sound Card.
[  OK  ] Created slice system-usbmount.slice.
         Starting usbmount@dev-sda.service...
         Starting LSB: set CPUFreq kernel parameters...
[  OK  ] Started Getty on tty1.
[  OK  ] Reached target Login Prompts.
[  OK  ] Started Login Service.
[  OK  ] Started LSB: set CPUFreq kernel parameters.
         Starting LSB: Set sysfs variables from /etc/sysfs.conf...
[   10.302805] rc.local[509]: X.Org X Server 1.19.2
[   10.316742] rc.local[509]: Release Date: 2017-03-02
[   10.328792] rc.local[509]: X Protocol Version 11, Revision 0
[   10.340999] rc.local[509]: Build Operating System: Linux 4.9.0-8-armmp-lpae armv7l Debian
[  OK  ] Started LSB: Set sysfs variables from /etc/sysfs.conf.
[   10.360836] rc.local[509]: Current Operating System: Linux orangepipc 4.19.36-sunxi #5.81 SMP Sun Apr 21 16:29:25 CEST 2019 armv7l
[  OK  ] Reached target Multi-User System.
[   10.392829] rc.local[509]: Kernel command line: root=/dev/mmcblk0p1 rootwait rootfstype=ext4  hdmi.audio=EDID:0 disp.screen0_output_mode=1920x1080p60 panic=10 consoleblank=0 loglevel=1 ubootpart=c7f42abf-01 ubootsource=mmc usb-storage.quirks=   sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_fb_mem_reserve=16 cgroup_enable=memory swapaccount=1
[  OK  ] Reached target Graphical Interface.
[   10.393509] rc.local[509]: Build Date: 03 November 2018  05:53:43AM
         Starting Update UTMP about System Runlevel Changes...
[   10.460910] rc.local[509]: xorg-server 2:1.19.2-1+deb9u5 (https://www.debian.org/support)
[   10.492893] rc.local[509]: Current version of pixman: 0.34.0
[   10.505108] rc.local[509]:   Before reporting problems, check http://wiki.x.org
[  OK  ] Started Update UTMP about System Runlevel Changes.
[   10.524815] rc.local[509]:   to make sure that you have the latest version.
[   10.548819] rc.local[509]: Markers: (--) probed, (**) from config file, (==) default setting,
[   10.582732] rc.local[509]:   (++) from command line, (!!) notice, (II) informational,
[   10.600849] rc.local[509]:   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   10.612887] rc.local[509]: (==) Log file: "/var/log/Xorg.0.log", Time: Thu Apr 21 09:48:13 2022
[   10.635423] rc.local[509]: (==) Using config directory: "/etc/X11/xorg.conf.d"
[  OK  ] Started usbmount@dev-sda.service.
[   10.652803] rc.local[509]: (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   10.879608] rc.local[509]: MESA-LOADER: failed to retrieve device information
[   10.897285] rc.local[509]: gbm: failed to open any driver (search paths /usr/lib/arm-linux-gnueabihf/dri:${ORIGIN}/dri:/usr/lib/dri)
[   10.916948] rc.local[509]: gbm: Last dlopen error: /usr/lib/dri/sun4i-drm_dri.so: cannot open shared object file: No such file or directory
[   10.941096] rc.local[509]: failed to load driver: sun4i-drm
[   15.547540] rc.local[509]: EGL_MESA_drm_image required.
[   22.284665] rc.local[509]: libpng warning: iCCP: known incorrect sRGB profile
[   22.297013] rc.local[509]: libpng warning: iCCP: known incorrect sRGB profile

 

 

here is the U boot for the working Program. note on line 45-52 where it shows uart being applied. 

 

Spoiler
U-Boot 2021.10-armbian (Apr 14 2022 - 11:51:40 -0700) Allwinner Technology

CPU:   Allwinner H3 (SUN8I 1680)
Model: Xunlong Orange Pi PC
DRAM:  1 GiB
MMC:   mmc@1c0f000: 0
Loading Environment from FAT... Unable to use mmc 0:1... In:    serial@1c28000
Out:   serial@1c28000
Err:   serial@1c28000
Net:   phy interface0
eth0: ethernet@1c30000
starting USB...
Bus usb@1c1a000: USB EHCI 1.00
Bus usb@1c1a400: USB OHCI 1.0
Bus usb@1c1b000: USB EHCI 1.00
Bus usb@1c1b400: USB OHCI 1.0
Bus usb@1c1c000: USB EHCI 1.00
Bus usb@1c1c400: USB OHCI 1.0
Bus usb@1c1d000: USB EHCI 1.00
Bus usb@1c1d400: USB OHCI 1.0
scanning bus usb@1c1a000 for devices... 1 USB Device(s) found
scanning bus usb@1c1a400 for devices... 1 USB Device(s) found
scanning bus usb@1c1b000 for devices... 2 USB Device(s) found
scanning bus usb@1c1b400 for devices... 1 USB Device(s) found
scanning bus usb@1c1c000 for devices... 1 USB Device(s) found
scanning bus usb@1c1c400 for devices... 1 USB Device(s) found
scanning bus usb@1c1d000 for devices... 1 USB Device(s) found
scanning bus usb@1c1d400 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
Autoboot in 1 seconds, press <Space> to stop
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot/boot.scr
3934 bytes read in 8 ms (479.5 KiB/s)
## Executing script at 43100000
U-boot loaded from SD
Boot script loaded from mmc
323 bytes read in 6 ms (51.8 KiB/s)
4957545 bytes read in 215 ms (22 MiB/s)
7482424 bytes read in 321 ms (22.2 MiB/s)
Found mainline kernel configuration
29890 bytes read in 17 ms (1.7 MiB/s)
502 bytes read in 23 ms (20.5 KiB/s)
Applying kernel provided DT overlay sun8i-h3-uart1.dtbo
502 bytes read in 23 ms (20.5 KiB/s)
Applying kernel provided DT overlay sun8i-h3-uart2.dtbo
502 bytes read in 23 ms (20.5 KiB/s)
Applying kernel provided DT overlay sun8i-h3-uart3.dtbo
4155 bytes read in 23 ms (175.8 KiB/s)
Applying kernel provided DT fixup script (sun8i-h3-fixup.scr)
## Executing script at 44000000
Kernel image @ 0x42000000 [ 0x000000 - 0x722c38 ]
## Loading init Ramdisk from Legacy Image at 43400000 ...
   Image Name:   uInitrd
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    4957481 Bytes = 4.7 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 43000000
   Booting using the fdt blob at 0x43000000
EHCI failed to shut down host controller.
   Loading Ramdisk to 49b45000, end 49fff529 ... OK
   Loading Device Tree to 49ad5000, end 49b44fff ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Loading, please wait...
starting version 232
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... Scanning for Btrfs filesystems
done.
Begin: Will now check root file system ... fsck from util-linux 2.29.2
[/sbin/fsck.ext4 (1) -- /dev/mmcblk0p1] fsck.ext4 -a -C0 /dev/mmcblk0p1
/dev/mmcblk0p1: recovering journal
/dev/mmcblk0p1: clean, 94065/233856 files, 729346/931328 blocks
done.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.

Welcome to Debian GNU/Linux 9 (stretch)!

[  OK  ] Listening on Journal Socket.
[  OK  ] Reached target Swap.
[  OK  ] Reached target Remote File Systems.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Listening on udev Kernel Socket.
[  OK  ] Listening on Journal Audit Socket.
[  OK  ] Listening on udev Control Socket.
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Created slice System Slice.
         Starting Load Kernel Modules...
         Mounting Debug File System...
[  OK  ] Created slice system-getty.slice.
         Starting Create list of required st…ce nodes for the current kernel...
         Mounting POSIX Message Queue File System...
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Reached target Encrypted Volumes.
[  OK  ] Set up automount Arbitrary Executab…rmats File System Automount Point.
[  OK  ] Listening on Journal Socket (/dev/log).
         Starting Journal Service...
         Starting Restore / save the current clock...
[  OK  ] Created slice User and Session Slice.
[  OK  ] Reached target Slices.
         Starting Set the console keyboard layout...
[  OK  ] Listening on fsck to fsckd communication Socket.
         Starting Remount Root and Kernel File Systems...
         Starting Nameserver information manager...
[  OK  ] Mounted Debug File System.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Started Load Kernel Modules.
[  OK  ] Started Create list of required sta…vice nodes for the current kernel.
[  OK  ] Started Restore / save the current clock.
[  OK  ] Started Remount Root and Kernel File Systems.
[  OK  ] Started Journal Service.
[  OK  ] Started Nameserver information manager.
         Starting Load/Save Random Seed...
         Starting Flush Journal to Persistent Storage...
         Starting udev Coldplug all Devices...
         Starting Create Static Device Nodes in /dev...
         Starting Apply Kernel Variables...
         Mounting Configuration File System...
[  OK  ] Mounted Configuration File System.
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Started Flush Journal to Persistent Storage.
[  OK  ] Started Set the console keyboard layout.
[  OK  ] Started Create Static Device Nodes in /dev.
         Starting udev Kernel Device Manager...
[  OK  ] Reached target Local File Systems (Pre).
         Mounting /tmp...
[  OK  ] Mounted /tmp.
[  OK  ] Reached target Local File Systems.
         Starting Set console font and keymap...
         Starting Create Volatile Files and Directories...
[  OK  ] Started Set console font and keymap.
[  OK  ] Started Create Volatile Files and Directories.
[  OK  ] Reached target System Time Synchronized.
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Started Entropy daemon using the HAVEGE algorithm.
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Started udev Coldplug all Devices.
[  OK  ] Reached target System Initialization.
         Starting Armbian hardware monitoring...
         Starting Armbian hardware optimization...
[  OK  ] Listening on CUPS Scheduler.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Started CUPS Scheduler.
[  OK  ] Reached target Paths.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Listening on UUID daemon activation socket.
[  OK  ] Reached target Sockets.
[  OK  ] Started Daily apt download activities.
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Reached target Timers.
[  OK  ] Started Armbian hardware monitoring.
[  OK  ] Started Armbian hardware optimization.
[  OK  ] Reached target Basic System.
         Starting LSB: Start/stop sysstat's sadc...
         Starting LSB: Speech Dispatcher...
[  OK  ] Started Regular background program processing daemon.
         Starting Permit User Sessions...
[  OK  ] Started D-Bus System Message Bus.
         Starting Login Service...
[ INFO ] Network Manager is not active.
[DEPEND] Dependency failed for Network Manager Wait Online.
[  OK  ] Reached target Network is Online.
         Starting /etc/rc.local Compatibility...
         Starting LSB: Start NTP daemon...
[  OK  ] Started CUPS Scheduler.
         Starting Save/Restore Sound Card State...
         Starting LSB: Advanced IEEE 802.11 management daemon...
         Starting LSB: Load kernel modules needed to enable cpufreq scaling...
[  OK  ] Started Unattended Upgrades Shutdown.
[  OK  ] Started Permit User Sessions.
[  OK  ] Started /etc/rc.local Compatibility.
[  OK  ] Started LSB: Advanced IEEE 802.11 management daemon.
[  OK  ] Started LSB: Start/stop sysstat's sadc.
[  OK  ] Started LSB: Speech Dispatcher.
[  OK  ] Started LSB: Load kernel modules needed to enable cpufreq scaling.
[  OK  ] Reached target Sound Card.
[  OK  ] Created slice system-usbmount.slice.
         Starting usbmount@dev-sda.service...
         Starting LSB: set CPUFreq kernel parameters...
[  OK  ] Started Getty on tty1.
[  OK  ] Reached target Login Prompts.
[  OK  ] Started LSB: Start NTP daemon.
[  OK  ] Started Login Service.
[  OK  ] Started LSB: set CPUFreq kernel parameters.
         Starting LSB: Set sysfs variables from /etc/sysfs.conf...
[  OK  ] Started LSB: Set sysfs variables from /etc/sysfs.conf.
[  OK  ] Reached target Multi-User System.
[  OK  ] Reached target Graphical Interface.
         Starting Update UTMP about System Runlevel Changes...
[  OK  ] Started Update UTMP about System Runlevel Changes.
[  OK  ] Started Save/Restore Sound Card State.
[  OK  ] Started usbmount@dev-sda.service.
[   11.208721] rc.local[484]: X.Org X Server 1.19.2
[   11.220795] rc.local[484]: Release Date: 2017-03-02
[   11.232778] rc.local[484]: X Protocol Version 11, Revision 0
[   11.244813] rc.local[484]: Build Operating System: Linux 4.9.0-8-armmp-lpae armv7l Debian
[   11.264686] rc.local[484]: Current Operating System: Linux orangepipc 4.19.36-sunxi #5.81 SMP Sun Apr 21 16:29:25 CEST 2019 armv7l
[   11.284704] rc.local[484]: Kernel command line: root=UUID=3b963372-9ded-4ae0-a559-958c7f46bff1 rootwait rootfstype=ext4 console=ttyS0,115200 hdmi.audio=EDID:0 disp.screen0_output_mode=1920x1080p60 panic=10 consoleblank=0 loglevel=3 ubootpart=c7f42abf-01 ubootsource=mmc usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u video=HDMI-A-1:800x480-24@60  sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_fb_mem_reserve=16 cgroup_enable=memory swapaccount=1
[   11.332718] rc.local[484]: Build Date: 03 November 2018  05:53:43AM
[   11.344705] rc.local[484]: xorg-server 2:1.19.2-1+deb9u5 (https://www.debian.org/support)
[   11.360691] rc.local[484]: Current version of pixman: 0.34.0
[   11.372697] rc.local[484]:   Before reporting problems, check http://wiki.x.org
[   11.384652] rc.local[484]:   to make sure that you have the latest version.
[   11.396800] rc.local[484]: Markers: (--) probed, (**) from config file, (==) default setting,
[   11.420844] rc.local[484]:   (++) from command line, (!!) notice, (II) informational,
[   11.444660] rc.local[484]:   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   11.464674] rc.local[484]: (==) Log file: "/var/log/Xorg.0.log", Time: Tue Apr 19 08:03:18 2022
[   11.484651] rc.local[484]: (==) Using config directory: "/etc/X11/xorg.conf.d"
[   11.500700] rc.local[484]: (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   11.790747] rc.local[484]: MESA-LOADER: failed to retrieve device information
[   11.805074] rc.local[484]: gbm: failed to open any driver (search paths /usr/lib/arm-linux-gnueabihf/dri:${ORIGIN}/dri:/usr/lib/dri)
[   11.825034] rc.local[484]: gbm: Last dlopen error: /usr/lib/dri/sun4i-drm_dri.so: cannot open shared object file: No such file or directory
[   11.844799] rc.local[484]: failed to load driver: sun4i-drm
[   16.739317] rc.local[484]: EGL_MESA_drm_image required.
[   21.685700] rc.local[484]: Could not set X locale modifiers
[   23.461854] rc.local[484]: libpng warning: iCCP: known incorrect sRGB profile
[   23.480848] rc.local[484]: libpng warning: iCCP: known incorrect sRGB profile
[   23.500729] rc.local[484]: libpng warning: iCCP: known incorrect sRGB profile
[   23.516798] rc.local[484]: libpng warning: iCCP: known incorrect sRGB profile
[   23.540956] rc.local[484]: libpng warning: iCCP: known incorrect sRGB profile
[   23.560797] rc.local[484]: libpng warning: iCCP: known incorrect sRGB profile
[   23.576642] rc.local[484]: libpng warning: iCCP: known incorrect sRGB profile
[   23.592491] rc.local[484]: libpng warning: iCCP: known incorrect sRGB profile
[   23.608725] rc.local[484]: libpng warning: iCCP: known incorrect sRGB profile
[   23.628804] rc.local[484]: libpng warning: iCCP: known incorrect sRGB profile
[   23.648748] rc.local[484]: libpng warning: iCCP: known incorrect sRGB profile
[   23.664697] rc.local[484]: libpng warning: iCCP: known incorrect sRGB profile
[   23.680740] rc.local[484]: libpng warning: iCCP: known incorrect sRGB profile
[   23.696940] rc.local[484]: libpng warning: iCCP: known incorrect sRGB profile
[   23.716713] rc.local[484]: libpng warning: iCCP: known incorrect sRGB profile
[   23.732771] rc.local[484]: libpng warning: iCCP: known incorrect sRGB profile
[   23.748651] rc.local[484]: libpng warning: iCCP: known incorrect sRGB profile
[   23.764677] rc.local[484]: libpng warning: iCCP: known incorrect sRGB profile
[   23.780658] rc.local[484]: libpng warning: iCCP: known incorrect sRGB profile
[   23.796704] rc.local[484]: libpng warning: iCCP: known incorrect sRGB profile
[   23.808731] rc.local[484]: libpng warning: iCCP: known incorrect sRGB profile
[   23.820981] rc.local[484]: libpng warning: iCCP: known incorrect sRGB profile
[   23.840725] rc.local[484]: libpng warning: iCCP: known incorrect sRGB profile
[   23.856760] rc.local[484]: libpng warning: iCCP: known incorrect sRGB profile
[   23.872727] rc.local[484]: libpng warning: iCCP: known incorrect sRGB profile
[   23.888750] rc.local[484]: libpng warning: iCCP: known incorrect sRGB profile
[   23.904777] rc.local[484]: libpng warning: iCCP: known incorrect sRGB profile
[   23.920707] rc.local[484]: libpng warning: iCCP: known incorrect sRGB profile
[   23.936738] rc.local[484]: libpng warning: iCCP: known incorrect sRGB profile
[   23.952842] rc.local[484]: libpng warning: iCCP: known incorrect sRGB profile
[   24.892066] rc.local[484]: libpng warning: iCCP: known incorrect sRGB profile
[   24.908860] rc.local[484]: libpng warning: iCCP: known incorrect sRGB profile
[   25.449988] rc.local[484]: Loading Prog EXE
[   25.460740] rc.local[484]: File FCS=0x9169, FLASH FCS=0x9169
[   27.471501] rc.local[484]: PIC Controller Application: APPLICATION
[   27.485627] rc.local[484]: PIC Controller Version:     1.03
[   27.526689] rc.local[484]: ARM 1 sense = 4.45259042033236 Volts
[   27.541717] rc.local[484]: ARM 2 sense = 4.52101661779081 Volts
[   27.553419] rc.local[484]: ARM 3 sense = 4.48680351906158 Volts
[   27.565327] rc.local[484]: SBC Power   = 0 Volts
[   27.577241] rc.local[484]: Input Power = 0 Volts
[   27.589079] rc.local[484]: Temperature = -273.15 C


 

 

Edited by TRS-80
put long output inside spoiler
Link to comment
Share on other sites

17 minutes ago, mikolp123 said:
Failed to load '/boot/dtb/overlay/-fixup.scr'

From your failure log, this line would indicate that one of the dtb overlays can't be read.  Can you verify that this file exists and is not corrupted on the sd card of the failure case.

 

The most likely cause in my opinion is a poor quality sd card.  Making sure you have a high quality sd card is one of the first things to check in situations like this.

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines