kernel panic when trying vga 1024 and 800 with latest debian image

Started by rejap, October 10, 2022, 06:25:08 PM

Previous topic - Next topic

rejap

hi,

I am trying to activate standard vga output on A13 wifi board.
Flashed card using http://images.olimex.com/release/a13/A13-OLinuXino-bullseye-base-20220928-143706.img.7z
Boot with serial console ok.
Selected vga-800 or vga-1024 in linuxino-overlay
Kernel panic in both cases.
I suspect, I am missing something obvious.
Any hints are appreciated.



  Verifying Hash Integrity ... crc32+ sha1+ OK
   Loading fdt from 0x58f032d8 to 0x4fa00000
   Booting using the fdt blob at 0x4fa00000
   Loading Kernel Image
   Loading Ramdisk to 49738000, end 49fffe21 ... OK
   Loading Device Tree to 4972f000, end 497379eb ... OK
Applying overlay: '/usr/lib/olinuxino-overlays/sun5i-a13/sun5i-a13-olimex-vga-800x600.dtbo'...
291 bytes read in 6 ms (46.9 KiB/s)

Starting kernel ...

[    0.050233] CPU0: Spectre v2: firmware did not set auxiliary control register IBE bit, system vulnerable
[    0.921846] sun4i-usb-phy 1c13400.phy: Couldn't request ID GPIO
Loading, please wait...
Starting version 247.3-7+deb11u1
[    3.642495] 8<--- cut here ---
[    3.645675] Unable to handle kernel paging request at virtual address 042003cc
[    3.652934] pgd = (ptrval)
[    3.655663] [042003cc] *pgd=00000000
[    3.659288] Internal error: Oops: 5 [#1] SMP ARM
[    3.663905] Modules linked in: pinctrl_axp209 sun4i_lradc_keys pwm_sun4i panel_simple pwm_bl
[    3.672372] CPU: 0 PID: 78 Comm: kworker/0:3 Not tainted 5.10.105-olimex #140134
[    3.679757] Hardware name: Allwinner sun4i/sun5i Families
[    3.685169] Workqueue: events deferred_probe_work_func
[    3.690322] PC is at videomode_from_timing+0x14/0x68
[    3.695293] LR is at panel_simple_get_modes+0x254/0x36c [panel_simple]
[    3.701813] pc : [<c05bb4b4>]    lr : [<bf00544c>]    psr: 20000013
[    3.708073] sp : c99bd9c8  ip : c99bd9d8  fp : c99bd9d4
[    3.713292] r10: c9e45094  r9 : 00000000  r8 : 00000000
[    3.718512] r7 : 00000000  r6 : 042003c8  r5 : c9e45040  r4 : c9b6fb40
[    3.725032] r3 : 00000070  r2 : 042003c8  r1 : c99bd9f4  r0 : 042003c8
[    3.731555] Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
[    3.738682] Control: 10c5387d  Table: 49e34019  DAC: 00000051
[    3.744423] Process kworker/0:3 (pid: 78, stack limit = 0x(ptrval))


LubOlimex

For the moment I can only confirm the issue. Same thing happens here, it is an issue inside the Olimage image. If you are in a hurry consider using the sunxi image until this gets fixed.
Technical support and documentation manager at Olimex

rejap

Quote from: LubOlimex on October 11, 2022, 08:55:03 AMFor the moment I can only confirm the issue. Same thing happens here, it is an issue inside the Olimage image.

If you are in a hurry consider using the sunxi image until this gets fixed.

Thanks for info!

I looked at the sunxi site and couldn't find any ready to go image.
What exactly did you mean?
Can I just use stock arm debian?

I also tried armbian, but it has no X11. At least console stays on vga.

LubOlimex

Sunxi images for A13 board can be found here:

https://ftp.olimex.com/Allwinner_Images/A13-OLinuXino/2.legacy_images_kernel_3.4.x/

Get the archive "A13_debian_34_90_mainline_u-boot_release_11_3.7z".

The downside is that the kernel is pretty old, but everything should work.

Some more info about sunxi images here:

https://www.olimex.com/wiki/A13-OLinuXino
Technical support and documentation manager at Olimex