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.

RazvanN

Validating
  • Joined

  • Last visited

Everything posted by RazvanN

  1. Hi! I have an rk3588 board that has a dma330 controller. I have this driver that essentially polls a dmac channel and it memory maps the data that is received into user space. Now, this driver was developed with the idea to receive data from a peripheral, however, before that I just want to test it by doing some memory to memory transactions. To that end I developed another kernel module that acts as a transmitter (code attached: aerietest.c). However, I am not able to link the transmitting end of the channel with the receiveing end. I added the following code in the device tree: aerie@0 { #dma-cells = <0x01>; compatible = "lyte-ai,l2"; dmas = <&dmac0 1>; dma-names = "rx"; } And both the rx and tx kernel modules link to it. However, whenever I modprobe of the modules I cannot probe the other, so I imagine that an entry in the device try can be used only by a single kernel module at a time. I also tried adding 2 entries in the device tree that reference the same channel, but that doesn't work also - the dma_request_chan function fails when called from the second module that is modprobed. So my question is: is it possible to inject some data mock that to test my receiving driver by using another kernel module? If yes, how can I do that? Regards. aerietest.c

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.