Jump to content

Search the Community

Showing results for tags 'nanopim4'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Armbian
    • Armbian project administration
  • Community
    • Announcements
    • SBC News
    • Framework and userspace feature requests
    • Off-topic
  • Using Armbian
    • Beginners
    • Software, Applications, Userspace
    • Advanced users - Development
  • Standard support
    • Amlogic meson
    • Allwinner sunxi
    • Rockchip
    • Other families
  • Community maintained / Staging
    • TV boxes
    • Amlogic meson
    • Allwinner sunxi
    • Marvell mvebu
    • Rockchip
    • Other families
  • Support

Categories

  • Official giveaways
  • Community giveaways

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Matrix


Mastodon


IRC


Website URL


XMPP/Jabber


Skype


Github


Discord


Location


Interests

  1. Greetings, I have installed your wiringpi-python on our Nano Pi M4 as instructed on http://wiki.friendlyarm.com/wiki/index.php/WiringPi-Python_for_RK3399. All went well with the installation. However, when trying to execute wpi.wiringPiSetup(), I get the following error: Oops: Unable to determine board revision from /proc/cpuinfo -> No "Hardware" line -> You'd best google the error to find out why. This is strange because there is no "Hardware" line in proc/cpuinfo on any Linux system in our organization. Can you please explain what is the way forward. Or is there a python 3 alternative to wiringpi that is as detailed? Or is there an update to WiringPi-Python for the Nano Pi M4 running rk3399-eflasher-friendlydesktop-bionic-4.4-arm64-20190308.img We are at a standstill due to this as you must be aware that without "wiringPiSetup()" working, the whole wiringpi-python library is useless. Thanks in advance iomari
  2. I tried this image : Armbian_5.89.190626_Nanopim4_Ubuntu_bionic_dev_5.1.0.7z, but the MAC address changes on every reboot, and so the IP address changes (auto IP).
  3. Hi all, any recommendations for a ~ 5" monitor for the M4 ?
  4. I'm trying to build a linux from source on a RK3399 nanopi-m4. I did the below steps: ### Download and compile ARM-TF ### $ git clone https://github.com/ARM-software/arm-trusted-firmware.git $ make CROSS_COMPILE=aarch64-linux-gnu- PLAT=rk3399 bl31 ### Download and complie U-Boot ### $ cd .. $ git clone https://gitlab.denx.de/u-boot/u-boot.git $ cd u-boot/ $ git checkout v2019.10 $ make CROSS_COMPILE=arm-linux-gnueabi- nanopi-m4-rk3399_defconfig $ cp ../arm-trusted-firmware/build/rk3399/release/bl31/bl31.elf . $ make ARCH=arm CROSS_COMPILE=aarch64-linux-gnu- $ make ARCH=arm CROSS_COMPILE=aarch64-linux-gnu- u-boot.itb $ ./tools/mkimage -n rk3399 -T rksd -d ./tpl/u-boot-tpl-dtb.bin idbloader.img Image Type: Rockchip RK33 (SD/MMC) boot image Data Size: 47104 bytes $ cat spl/u-boot-spl-dtb.bin >> idbloader.img ### Build kernel ### $ git clone https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git $ cd linux $ git checkout v5.1 **I've used the arm64 defconfig *** $ make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- defconfig $ make CROSS_COMPILE=aarch64-linux-gnu- ARCH=arm64 ### Create boot.img ### $ cd .. $ mkdir boot $ cp linux/arch/arm64/boot/dts/rockchip/rk3399-nanopi-m4.dtb boot/ $ cp arch/arm64/boot/Image boot/ $ cp linux/arch/arm64/boot/Image boot/ $ mkdir boot/extlinux $ nano boot/extlinux/extlinux.conf label NanoPi M4 5.1 kernel /boot/Image devicetree /boot/rk3399-nanopi-m4.dtb append earlycon=uart8250,mmio32,0xff1a0000 root=/dev/mmcblk1p1 rootwait $ dd if=/dev/zero of=boot.img bs=1M count=32 $ sudo mkfs.fat boot.img $ mkdir tmp $ sudo mount boot.img tmp/ $ cp -r boot/* tmp/ $ umount tmp *** copy the images to a folder *** $ mkdir images $ cp boot.img images/ $ cp u-boot/idbloader.img images/ $ cp u-boot/u-boot.itb images/ ### Create sd card image ### $ cd images/ *** I'm using a VM so it was easier to use a loop device to create the image *** $ dd if=/dev/zero of=sdcard.img bs=1024 count=0 seek=400000 || exit 1 $ sudo losetup -f /dev/loop18 $ sudo losetup /dev/loop18 sdcard.img $ sudo dd if=idbloader.img of=/dev/loop18 seek=64 $ sudo dd if=u-boot.itb of=/dev/loop18 seek=16384 $ sudo dd if=boot.img of=/dev/loop18 seek=32768 $ sync Flush the image(sdcard.img) with etcher to a card and place the card in the board. Plug the UART cable and power on the board. I receive the below message: U-Boot TPL board init sdram_init: data training failed rk3399_dmc_init DRAM init failed -5 Does anyone know what the issue is?
  5. Hi, I'm wondering if the NanoPi M4 can be made to work with a PiTFT 320x240 screen? When I set up the /dev/fb0 device and write to it, the display simply stays black/white (each time I write to the display only the shades change). NanoPi M4 has a different GPIO set-up from Raspberry Pi 3b+ (which PiTFT works with). Is there a possibility that the NanoPi M4's GPIO could be rewired in a way that it would support the PiTFT? E.g. Tinkerboard runs under RK3288 (vs M4's RK3399) and has the same GPIO layout as the RPi 3B+, so it could maybe be made possible?
  6. I need one more component working. 3D and OpenCL. Has anyone successfully installed Panfrost on a RK3399 board ? Update! I manged to build the Panfrost X11 driver. Here's how I did it: https://panfrost.freedesktop.org/building-panfrost-mesa.html Before you create the build directory update the meson_options.txt file change platforms from auto to x11 change dri_driver from auto to swrast change gallium-drivers to panfrost cd to the build directory meson .. . -Ddri-drivers= -Dvulkan-drivers= -Dgallium-drivers=panfrost -Dlibunwind=false --prefix=/{wherever you want} ninja install before you start a program export LD_LIBRARY_PATH=/{wherever your path is} glmark2-es2 When I get home from work I will test further. I will update later. I wanted to post just in case anyone else wishes to try it. I got to go to sleep, work tomorrow.
  7. Hi, I'm running Armbian Bionic 4.4 (Linux nanopim4 4.4.190-rk3399 #5 SMP Sun Sep 1 23:12:43 CEST 2019 aarch64 aarch64 aarch64 GNU/Linux) on a NanoPI M4 and I'm trying to enable HDCP on the HDMI output. I can't figure out how to do this (or if it is even possible). dmesg shows that the driver/hardware knows about HDCP to some extent pi@nanopim4:~$ dmesg | grep -i hdcp [ 3.307777] dwhdmi-rockchip ff940000.hdmi: Detected HDMI TX controller v2.11a with HDCP (DWC HDMI 2.0 TX PHY) xrandr lists no content_protection property pi@nanopim4:~$ xrandr --prop Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192 HDMI-1 connected primary 1920x1080+0+0 1152mm x 648mm EDID: 00ffffffffffff0010e3140211000082 ff1c010380331d7806e295a2554f9f26 115054ffff80d1c0b300950f950081c0 81408180714f4dd000a0f0703e803020 350080884200001e000000fd0a01ff01 ff3c0000000000000000000000fc0044 47433231340a20202020202000000010 000000000000000000000000000001c1 02033571230f1707836900004561605f 5e5dee0f0000000000000000000000f0 0168030c00ffff1078016ad85dc40178 80010000004dd000a0f0703e80302035 0080884200001eb46600a0f0701f8030 20350080884200001e293680a070381f 403020350040442100001eb71a80a070 1c10203020350040442100009e0000ff hue: 50 range: (0, 100) saturation: 50 range: (0, 100) contrast: 50 range: (0, 100) brightness: 50 range: (0, 100) hdmi_quant_range: default supported: default, limit, full hdmi_output_mode_capacity: 7 range: (0, 15) hdmi_color_depth_capacity: 19 range: (0, 255) hdmi_output_colorimetry: None supported: None, ITU_2020 hdmi_output_format: output_rgb supported: output_rgb, output_ycbcr444, output_ycbcr422, output_ycbcr420, output_ycbcr_high_subsampling, output_ycbcr_low_subsampling, invalid_output hdmi_output_depth: 24bit supported: Automatic, 24bit, 30bit There is a sysfs node for content_protection created, but it doesn't return any values pi@nanopim4:~$ cd /sys/class/drm/card0-HDMI-A-1/ pi@nanopim4:/sys/class/drm/card0-HDMI-A-1$ ls -lh total 0 -r--r--r-- 1 root root 4.0K Oct 2 12:35 audioformat -rw-r--r-- 1 root root 4.0K Oct 2 13:05 content_protection lrwxrwxrwx 1 root root 0 Oct 2 12:35 device -> ../../card0 -r--r--r-- 1 root root 4.0K Oct 2 12:35 dpms -r--r--r-- 1 root root 0 Oct 2 12:35 edid -r--r--r-- 1 root root 4.0K Oct 2 12:35 enabled -r--r--r-- 1 root root 4.0K Oct 2 12:35 mode -r--r--r-- 1 root root 4.0K Oct 2 12:35 modes drwxr-xr-x 2 root root 0 Oct 2 12:35 power -rw-r--r-- 1 root root 4.0K Oct 2 12:35 status lrwxrwxrwx 1 root root 0 Oct 2 12:35 subsystem -> ../../../../../../class/drm -rw-r--r-- 1 root root 4.0K Oct 2 12:35 uevent pi@nanopim4:/sys/class/drm/card0-HDMI-A-1$ cat content_protection pi@nanopim4:/sys/class/drm/card0-HDMI-A-1$ Writing to it with the values that look like they should work (by inspecting drivers/gpu/drm/drm_crtc.c and drivers/gpu/drm/drm_sysfs.c) just returns Invalid Value: pi@nanopim4:/sys/class/drm/card0-HDMI-A-1$ su Password: root@nanopim4:/sys/class/drm/card0-HDMI-A-1# echo "Desired" > content_protection bash: echo: write error: Invalid argument (I've also tried echo -n, and various capitalisations of: Undesired, Desired, Enabled. All of which have the same result). Am I missing something here? Is it possible to enable HDCP on the HDMI output? Thanks, Phil
  8. Hi Folks, I'm testing the M4 board with Armbian Buster, I'm having the following problems with the GPIO: How can I use gpio without root? I've checked and there isn't a /dev/gpiomem device so I can give permissions to other users. Only a few of the GPIO pins can be set. Most of them don't show up as configurable through gpio readall. A few of them show as ALT and although I can change their mode (input / output), I cannot change/read their value, it seems those are shared with i2c-3, so this can be the problem, but I don't know how to disable i2c-3 and use them. Also, can all the 6 cores work at the same time? Or the BIG.little architecture enforces choosing between the fast or the slow ones? Best regards,
  9. Hi, at first thank your for your great work! I've successfully created an wifi hotspot on nanopiM4 using "Armbian_5.95_Nanopim4_Debian_buster_default_4.4.190" with armbian-config utitlity. After the tool is finished I can connect to the hotspot and it shares the internet connection.. However - when I reboot the system the hotspot still works and I can connect but I have no connection to the internet anymore. The nonopi itself has connection to internet, I checked that. Do you have any sugestions? Thank you in andvance! Christian
  10. Hello, I'm using Nanopi M4 installed Armbian Buster. It works like charm but I found a strange behavior of the system. In htop all cores are displayed as little core. but when I checked actual clocks in /sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_cur_freq big cores are doing well (up to 1.8GHz). htop result: lscpu results: Architecture: aarch64 Byte Order: Little Endian CPU(s): 6 On-line CPU(s) list: 0-5 Thread(s) per core: 1 Core(s) per socket: 3 Socket(s): 2 Vendor ID: ARM Model: 4 Model name: Cortex-A53 Stepping: r0p4 CPU max MHz: 1800.0000 CPU min MHz: 408.0000 BogoMIPS: 48.00 Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 CPU SOCKET CORE ONLINE MAXMHZ MINMHZ 0 0 0 yes 1416.0000 408.0000 1 0 1 yes 1416.0000 408.0000 2 0 2 yes 1416.0000 408.0000 3 0 3 yes 1416.0000 408.0000 4 1 4 yes 1800.0000 408.0000 5 1 5 yes 1800.0000 408.0000 Is this result normal?
  11. Hi, I need to use callback function in Python3 on my NanoPi M4 but I can't, so it is very nice if anyone can help me with this issue. So far I've tried the function with wiringpi as shown command bellow but this doesn't work at all, that generates some errors and after that my command in /usr/bin/ doesn't work .... I can use other functions in wirignpi so guess something is wrong with only this function... Is there any way to use callback function with NanoPi M4, for example using other modules or something Thank you,
  12. I have Armbian running on my NanoPi M4 Everything is fine but.............. I have massive problems with pulseaudio Im not able to get the sound working So i tried to deinstall pulseaudio and install Alsa After that i dont see anything regarding sound in settings menu or on the taskbar For unknown reasons the wallpaper has resettet Anyone who has a solution ?
  13. I uses my NanoPi M4 as a cheap ARM64 kvm host, and I need a newer kernel since the legacy one is kind of broken in terms of KVM. But Wi-Fi is not working in dev kernel for quite some time, I found a temporary fix for that: # cd /lib/firmware/brcm # mv brcmfmac4356-sdio.bin brcmfmac4356-sdio-orig.bin # ln -s ../rkwifi/fw_bcm4356a2_ag.bin brcmfmac4356-sdio.bin # ln -s ../rkwifi/nvram_ap6356s.txt brcmfmac4356-sdio.friendlyelec,nanopi-m4.txt Then reboot, Wi-Fi will be back.
  14. I'm trying to install wiringpi by following the instruction given here https://github.com/Pavelectric/WiringPi_M4. Most of the steps that I followed worked fine but when I do the very last command below, I get a following error, I googled how to deal with this kind of error, and some people tell that 'ContextualZipFile' in archive_util.py doesn't have to be installed so I just need to comment that out. Although, I couldn't find '/usr/local/lib/python3.6/dist-packages/setuptools-33.1.1-py3.6.egg/setuptools/archive_util.py', I did that comment out solution to the all files below, which I got by doing find-command-research Now I don't know what to do here... It is very nice if anyone can help me get out of this darkness... Thank you,
  15. With the stable images for NanoPi M4 I see CPU speed is limited to 1.8Mhz, whereas with nightly builds I get up to 2GHz for the fast cores. I would rather like to stay with stable image, also because boot time is much longer with nightly builds. What is the easiest way to enable up to 2GHz CPU speeds with stable build? JB
  16. Hi all, I have motion installed and a FriendlyElec camera connected to my board, my problem is, the camera is not detected by motion - what do I need to do to configure the camera / motion ?
  17. Hi, I'm currently facing strange problems... I'm using NanoPi and operate some USB devices with it. Since I wanted to know the total power consumption of the system, I measured current which flows into NanoPi from the outlet. The current during while the camera working was very nice (about 1A) so I shut the pi down. Then, I found that the total current value gradually rose up from about 1A to 1.5A. This seems to be so strange because when it gets shutdown, the power should be off as well, and the pi only needs small amount of power just to light the red LED. I tried a few times but the result was always same... I can't understand the reason why this happens, does anyone have ideas to explain this phenomena?
  18. Hi all, I have a Friendlyarm nanopi M4 running armbian, I have tried to install dotnet core without success - anyone here managed it ? I followed a tutorial but when I get to the apt-get install part I see this error Couldn't find any package by glob 'dotnet-sdk-2.2'
  19. When can I expect a final Armbian image for the Nanopi M4 ? I'm eagerly awaiting it and many others will surely be too The image of friendlyarm is simply an imposition You have the feeling of being on the road with the handbrake on.
  20. pkfox

    Bluetooth poser

    l used armbian-config to activate Bluetooth but get this message when I check the status root@nanopim4:~# /etc/init.d/bluetooth status ● bluetooth.service - Bluetooth service Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled) Active: inactive (dead) Condition: start condition failed at Thu 2019-06-06 07:17:58 BST; 11s ago └─ ConditionPathIsDirectory=/sys/class/bluetooth was not met Docs: man:bluetoothd(8) any ideas chaps ?
  21. Hi all, does anyone know of a good reliable way to flash an image to a FriendlyElec type eMMC card, originally I used their microsd adapter but for some reason my PC / Transcend adapter doesn't recognise them anymore.
  22. Hello, yesterday i see that the SATA Hat for the Nanopi is available now is it possible to install Armbian on a SSD when i use the Sata Hat ? Or is the EMMC or SD Card required for the OS ?
  23. Hi all, I'm trying to get Bluetooth working with the M4 ( installed it via armbian-config ) but on checking the status I see this
  24. We are evaluating many boards for Industrial purpose, often fails to pick the right one, form Raspberry PI to other boards, including Tinkerboard. We aim to bring the cost of the SBC to 60 to 100 USD, mainly used for Industrial, within 0-70 Deg C. In fact, I have posted similar questions to find out answers, including Rock64, Olimex etc. Olimex seems to be supporting Industrial temperature, but their A64 seems to have less USB ports. Many SBCs vendor advertise their board for Education, Hobby purpose, I see Nano PC boards, they advertise for robotics, Industrial purpose http://wiki.friendlyarm.com/wiki/index.php/NanoPi_M4 with WIKI stating working temperature is 0-70 Deg C, their product page suggest 0-80 deg C. We yet to order one Nano SBC, anyone had exposure with NanoPI M4 boards, readiness for Industrial application? More importantly, it support Raspberry PI pin compatibility and additional PCI and 2 USB hosts in GPIO. I am trying to understand Olimex vs Nano PC for industrial use, excluding -40 to +85 range
  25. pkfox

    M4 camera

    Hi all, has anyone here got a camera to work on the M4 running Linux - I know they work with Android but what a waste of a board putting Android on it
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines