Jump to content

ak_hepcat

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by ak_hepcat

  1. Just downloaded Armbian_23.5.5_Orangepi5-plus_jammy_legacy_5.10.160.img.xz and installed it to an sdcard to boot up on my Opi5+ and monitored with serial console, but the system wouldn't boot because of a koops.  this happened with every boot.
     

    Quote


    [   10.945354] systemd[1]: Caught <SEGV>, core dump failed (child 373, code=killed, status=11/SEGV).
    [   10.945416] systemd[1]: Freezing execution.
    [   29.088950] BUG: spinlock bad magic on CPU#4, kworker/4:2/144
    [   29.089117] Internal error: Oops: 96000004 [#1] SMP
    [   29.090063] Modules linked in: ip_tables ipv6 pgdrv panfrost gpu_sched
    [   29.090689] CPU: 4 PID: 144 Comm: kworker/4:2 Not tainted 5.10.160-rk35xx #1
    [   29.091323] Hardware name: Orange Pi 5 Plus (DT)
    [   29.091761] Workqueue: events hdmirx_delayed_work_hotplug
    [   29.092265] pstate: 60c00089 (nZCv daIf +PAN +UAO -TCO BTYPE=--)
    [   29.092817] pc : spin_bug+0x70/0xb4
    [   29.093149] lr : spin_bug+0x68/0xb4
    [   29.093472] sp : ffff80000ad03200
    [   29.093782] x29: ffff80000ad03200 x28: ffff0001057a53c0  
    [   29.094271] x27: 0000000000000000 x26: ffff8000089b5e68  
    [   29.094756] x25: 0000000000000000 x24: ffff0001057a5388  
    [   29.095241] x23: ffff80000ad03480 x22: ffff8000094b634c  
    [   29.095725] x21: ffff800009829008 x20: 0000000200000000  
    [   29.096211] x19: ffff0001011d2610 x18: 0000000000000000  
    [   29.096697] x17: 0000000000000000 x16: 0000000000000000  
    [   29.097182] x15: 000000000000000a x14: 0000000000015b76  
    [   29.097668] x13: 0000000000000006 x12: ffffffffffffffff  
    [   29.098155] x11: 0000000000000010 x10: ffff80008ad02ed7  
    [   29.098641] x9 : ffff8000080de864 x8 : ffff80000ad02ef8  
    [   29.099126] x7 : 0000000000000000 x6 : ffff80000a8800e0  
    [   29.099610] x5 : 00000000000affa8 x4 : 000000000000000d  
    [   29.100095] x3 : 0000000000000000 x2 : 0000000000000000  
    [   29.100580] x1 : ffff000104da0f40 x0 : 0000000000000031  
    [   29.101067] Call trace:
    [   29.101304]  spin_bug+0x70/0xb4
    [   29.101603]  do_raw_spin_lock+0x40/0xdc
    [   29.101959]  _raw_spin_lock_irqsave+0x2c/0x40
    [   29.102361]  prepare_to_wait+0x3c/0x88
    [   29.102717]  rpm_resume+0x1bc/0x430
    [   29.103049]  __spi_pump_messages+0x1ac/0x57c
    [   29.103447]  __spi_sync+0x178/0x1e4
    [   29.103773]  spi_sync+0x38/0x5c
    [   29.104067]  spi_write_then_read+0x128/0x1ac
    [   29.104469]  rk806_spi_bus_read+0x60/0x90
    [   29.104848]  _regmap_raw_read+0x108/0x1a8
    [   29.105224]  _regmap_bus_read+0x4c/0x84
    [   29.105577]  _regmap_read+0xbc/0x138
    [   29.105918]  regmap_read+0x54/0x80
    [   29.106236]  regmap_field_read+0x40/0x88
    [   29.106603]  rk806_field_read+0x38/0x68
    [   29.106961]  rk806_regulator_is_enabled_regmap+0x9c/0xb0
    [   29.107447]  _regulator_is_enabled+0x3c/0x50
    [   29.107849]  _regulator_do_set_voltage+0xd0/0x45c
    [   29.108285]  regulator_set_voltage_rdev+0x134/0x1fc
    [   29.108732]  regulator_do_balance_voltage+0x94/0x390
    [   29.109189]  regulator_balance_voltage+0x7c/0x80
    [   29.109612]  regulator_set_voltage_unlocked+0xcc/0xf0
    [   29.110071]  regulator_set_voltage+0x58/0x9c
    [   29.110476]  rockchip_dmcfreq_set_volt+0x80/0xe4
    [   29.110901]  rockchip_dmcfreq_opp_helper+0x1d4/0x408
    [   29.111362]  dev_pm_opp_set_rate+0x38c/0x4e0
    [   29.111762]  rockchip_dmcfreq_target+0x88/0xb4
    [   29.112177]  devfreq_set_target+0x88/0x13c
    [   29.112552]  update_devfreq+0x88/0xc4
    [   29.112894]  rockchip_dmcfreq_system_status_notifier+0x1b4/0x1d8
    [   29.113439]  notifier_call_chain+0x74/0x94
    [   29.113815]  blocking_notifier_call_chain+0x4c/0x78
    [   29.114264]  rockchip_system_status_notifier_call_chain.isra.0+0x28/0x34
    [   29.114877]  rockchip_set_system_status+0x68/0xc4
    [   29.115314]  hdmirx_delayed_work_hotplug+0xf4/0x2dc
    [   29.115761]  process_one_work+0x1e0/0x298
    [   29.116134]  process_scheduled_works+0x4c/0x50
    [   29.116544]  worker_thread+0x1f4/0x278
    [   29.116899]  kthread+0xf4/0x104
    [   29.117194]  ret_from_fork+0x10/0x30
    [   29.117530]  
    [   29.117530] PC: 0xffff8000080d6958:
     

     

     

    Using the Orangepi5plus_1.0.6_ubuntu_jammy_server_linux5.10.110.img  version, I'm able to boot successfully.

     

    I copied the boot files from the OPi5+ img  onto my sdcard with Armbian, and made the requisite changes so that the boot environment was pointing to Opi kernel/initrd/dtb,  and as expected, was able to boot into the official armbian environment, so i could validate what kernel was installed on the image i downloaded, and it was "linux-image-legacy-rk35xx":

     

    Quote

    $ dpkg -l | grep linux-image
    ii  linux-image-legacy-rk35xx             23.08.0-trunk--5.10.160-S2c1d-Df1ec-P0000-C2d32Hfe66-HK01ba-Vc222-Be693 arm64        Armbian Linux legacy kernel image version "5.10.160" git revision "2c1dcd460b945317d5f0fb9f929b01f46f4e2ca9" codename "Dare mighty things" drivers hash "f1ec859bd80e169d" patches hash "0000000000000000" .config hash "2d32937fec29a52a" .config hook hash "fe661159ee64825e" variables hash "" framework bash hash "e693c7b4dae91f2e"

     

     

    So there's something broken on that build for Opi5+ - at least it's failing on my board.

     

    Happy to provide more info, run test builds, etc.

  2. 1 hour ago, TRS-80 said:

    [...]

    In my time here, I have gathered that the ARM Linux ecosystem is kind of wild and wooly, with random patches and fixes coming from here and there...  Armbian in fact is an effort to try and unify all these things floating around on the Internet into some sort of cohesive whole.  Which I guess is why we maintain our own patch sets.

     

    Your efforts toward contribution are appreciated.

     

    welp,  I guess that's where i'll head then.   Ugly as sin, but... it is what it is.

     

    Heading off to PR...  ( https://github.com/armbian/build/pull/3495  )

     

    thanks!

  3. Okay, so...  again...

     

    Should i perform a PR against the patchfile itself?

     

    Or is there a master repo somewhere else that's it's generated from that would be more appropriate?

     

    specifically for:  armbian/patch/kernel/media-edge/general-rockchip-overlays.patch

    None of this patch process seems to be documented anywhere, so, I'm struggling with how to get changes made in the correct manner.

     

  4. I was trying to enable i2c on my RockPro64,  and when looking at the documentation in the overlay directory, it states this:

    rockchip (Rockchip)
    
    ### Provided overlays:
    
    - i2c7, i2c8, pcie-gen2, spi-spidev, uart4, w1-gpio
    
    ### Overlay details:
    
    ### i2c7
    
    Activates TWI/I2C bus 7
    
    I2C7 pins (SCL, SDA): GPIO2-B0, GPIO2-A7 GPIO1-C5, GPIO1-C4
    
    ### i2c8
    
    Activates TWI/I2C bus 8
    
    I2C8 pins (SCL, SDA): GPIO1-C5, GPIO1-C4

     

     

    Note that the  "GPIO1-C5, GPIO1-C4" from i2c8 is accidentally included on the i2c7 pins line.

     

    I would submit a PR for this change,  but ... I'm not sure where this document actually lives, and it's not easy to figure out.

     

    I see that @Igor  is listed as the maintainer of the package, but that's not helping me find the source to submit changes.

     

    Also, for clarity, it would be nice to include that    i2c8  is the pi-connector,  and  i2c7  is the Digital Video Port

     

    Happy to submit changes if somebody can point me to the right place.

     

    Thanks

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines