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.

Lamobo R1 coherent_pool problem

Featured Replies

Hi all,

 

I've one minor issue with my Lamobo R1. I've to set the coherent_pool to > 256KiB to get my USB DVB

device working. But every time I set the coherent_pool to e.g. 2M and regenerate the boot.scr the device

gets in an endless boot loop (starting uboot - starting kernel - changes resolution and starts to load

drivers - but then crashes with graphic errors and starts all over again).

 

Is there something I can do against this? I've compiled the v3.0 with Jessie 3.4.107 with following kernel

paramters configured (and sunxi uboot v2015.04):
 

MEDIA_SUPPORT=m
VIDEO_DEV=m
SOUND=m
GMAC_FOR_BANANAPI=y
CMA=y
CMA_SIZE_MBYTES=16
 

Greetings,

Oliver

  • Author

Finally solved - for all other people facing the same issues:

 

Change /boot/boot.cmd from:

  setenv bootargs console=tty1 root=/dev/mmcblk0p1 rootwait .... loglevel=1

to:

  setenv bootargs "coherent_pool=6M console=tty1 root=/dev/mmcblk0p1 rootwait .... loglevel=1"

 

then make a backup of /boot/boot.scr (e.g. boot.old) and regenerate boot.scr:

mkimage -C none -A arm -T script -d /boot/boot.cmd /boot/boot.scr

 

And for all other users that want to get v4l devices, not supported in kernel by default, working -

you have to recompile the image yourselves - as Igor seems not to change MEDIA_SUPPORT=Y

to MEDIA_SUPPORT=m (and VIDEO_DEV=Y to VIDEO_DEV=m) in his builds. This could be an

oversight - so take this just as a reminder - to save some people compile and troubleshooting time.

 

Greetings,

h0ly0ne

  • Author

A few driver panics later the perfect additional module composition for kernel compilation

seems to be following configuration (at the moment running stable - more tests to come):

 

CONFIG_MEDIA_SUPPORT=m
CONFIG_VIDEO_DEV=m
CONFIG_SOUND=m
CONFIG_GMAC_FOR_BANANAPI=y
CONFIG_CMA=y
CONFIG_CMA_DEBUG=n
CONFIG_CMA_MBYTES=16
CONFIG_CMA_SIZE_SEL_MBYTES=y
CONFIG_CMA_ALIGNMENT=8
CONFIG_CMA_AREAS=7

 

Greetings,

h0ly0ne

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.