Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

bpi m1 with a battery: kernel panic when shutdown -h 0

Featured Replies

Hello armbianers !

 

Armbian 22.11.1 Bullseye with Linux 5.15.80-sunxi on a banana pi m1

 

I've connected a lipo battery to my bpi m1, and now when I try to shutdown -h 0, it ends up in a kernel panic and instead of shutting down it remains powered up. Is there anything I can do to fix that? I'd know how to shut it down talking to the axp209 via i2c, but I'm not sure how/where to put that, or if that would be or not the proper way to go.

 

Thanks,

George.

bpi_k_p.jpeg

  • Author

Ok, never mind. I went in a loop to [ armbian-config/switch to other kernels, chose the next newer kernel, apt update && upgrade ], and after a few rounds I got to:

 

Armbian 22.11.1 Bullseye with bleeding edge Linux 6.0.10-sunxi

 

In which everything works as it should ! :-)

 

shutdown -h 0 is now turning it off.

 

Cheers,

George

  • Author

Hello!

 

Lemaker Banana Pi M1

Armbian 22.11.1 Bullseye with bleeding edge Linux 6.0.10-sunxi

 

The problem with the kernel 6.0.10 is that /sys/power/axp_pmu/ is no longer there... nor anywhere else as far I know.

 

tree /sys/power/axp_pmu/battery/

/sys/power/axp_pmu/battery/

├── amperage

├── capacity

├── charge

├── charging

├── connected

├── power

├── ts_voltage

└── voltage

 

Any ideas why? Can I fix that? How?

 

Thanks,

George.

Edited by seif

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.