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.

Enable i2c at u-boot stage on Lamobo-R1

Featured Replies

Hi, 

 

I need to use the i2c in the u-boot stage.

I've added a patch that enables this i2c bus in the device-tree,

and when I run this command (just for example): sudo i2cset -y 2 0x1b 0x1 0xf

AFTER the boot stage it seem to work.

However when I try this command IN THE boot stage, I get: Unknown command 'i2cset' - try 'help'.

1. I guess I'm trying to use 'i2cset' in a too early stage - any idea how to control the i2c in the u-boot stage or how to make 'i2cset' available at the u-boot stage ?

2. Since 'i2cset' doesn't work in the u-boot stage, I don't know if the i2c is enabled at this stage (I know it's enabled after boot) - how can I check it ?

 

Thanks,

Joseph

  • Werner locked this topic
Guest
This topic is now closed to further replies.

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.