Marco-Omniabit
-
Posts
6 -
Joined
-
Last visited
Content Type
Forums
Store
Crowdfunding
Applications
Events
Raffles
Community Map
Posts posted by Marco-Omniabit
-
-
Hello,
in the company where I work, a nanopi M1 plus was purchased and we are developing a firmware to run on the device. In our code we need to change the settings of the active wired connection at that time, but we can not do it due to an error. If, for example, we use the following command:
nmcli connection modify 'Ifupdown (eth0)' ipv4.method auto
The following error message is returned.
Error: failed to modify connection 'Ifupdown (eth0)': Connection is read-only
The command is executed correctly if the connection is not managed by NetworkManager, so when in the file: "NetworkManager.conf" the "managed" parameter is set to false. We had to set it to true because otherwise, by changing the ethernet cable and inserting another of another subnet, we realized that the device keeps the old IP address and therefore is unreachable. So how could we solve that problem?
Regards
Marco
-
Hello,
I installed Armbian on Nanopi M1 Plus. I used it for a couple of days but now I encountered a problem: the boot stops after the following writing appears:
"started hostname service"
I tried to wait several minutes but nothing happens anymore
Best regards
Marco
UPDATE:
The problem occurs when the device is powered only by the Debug UART, probably the pc usb is not enough to power it
-
Hi Projetoarduino,
I have a problem with your patch. I downloaded Armbian version based on Debian Stretch for Nanopi Neo, then I started the system and I downloaded sun8i-h3-nanopi-neo.dtb file. Then I used this command:
cp sun8i-h3-nanopi-neo.dtb /boot/dtb-4.14.14-sunxi/
Then i rebooted system but now it does not load anymore. Output is: (consider that there is another system in emmc and I want overwrite it)
Device NOT ready Request Sense returned 00 00 00 2 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found Autoboot in 1 seconds, press <Space> to stop switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... Found U-Boot script /boot/boot.scr 3708 bytes read in 206 ms (17.6 KiB/s) ## Executing script at 43100000 U-boot loaded from SD Boot script loaded from mmc 228 bytes read in 167 ms (1000 Bytes/s) 5070071 bytes read in 654 ms (7.4 MiB/s) 6968976 bytes read in 814 ms (8.2 MiB/s) Found mainline kernel configuration 40285 bytes read in 800 ms (48.8 KiB/s) libfdt fdt_check_header(): FDT_ERR_BADMAGIC No FDT memory address configured. Please configure the FDT address via "fdt addr <address>" command. Aborting! 504 bytes read in 1641 ms (0 Bytes/s) Applying kernel provided DT overlay sun8i-h3-usbhost1.dtbo No FDT memory address configured. Please configure the FDT address via "fdt addr <address>" command. Aborting! 504 bytes read in 1649 ms (0 Bytes/s) Applying kernel provided DT overlay sun8i-h3-usbhost2.dtbo No FDT memory address configured. Please configure the FDT address via "fdt addr <address>" command. Aborting! Error applying DT overlays, restoring original DT 40285 bytes read in 800 ms (48.8 KiB/s) ## Loading init Ramdisk from Legacy Image at 43300000 ... Image Name: uInitrd Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 5070007 Bytes = 4.8 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ERROR: Did not find a cmdline Flattened Device Tree Could not find a valid device tree SCRIPT FAILED: continuing... Device 0: not available _sun8i_emac_eth_init: Timeout missing environment variable: pxeuuid missing environment variable: bootfile Retrieving file: pxelinux.cfg/01-02-81-78-b5-e2-2c *** ERROR: `serverip' not set missing environment variable: bootfile Retrieving file: pxelinux.cfg/00000000 *** ERROR: `serverip' not set missing environment variable: bootfile Retrieving file: pxelinux.cfg/0000000 *** ERROR: `serverip' not set missing environment variable: bootfile Retrieving file: pxelinux.cfg/000000 *** ERROR: `serverip' not set missing environment variable: bootfile Retrieving file: pxelinux.cfg/00000 *** ERROR: `serverip' not set missing environment variable: bootfile Retrieving file: pxelinux.cfg/0000 *** ERROR: `serverip' not set missing environment variable: bootfile Retrieving file: pxelinux.cfg/000 *** ERROR: `serverip' not set missing environment variable: bootfile Retrieving file: pxelinux.cfg/00 *** ERROR: `serverip' not set missing environment variable: bootfile Retrieving file: pxelinux.cfg/0 *** ERROR: `serverip' not set missing environment variable: bootfile Retrieving file: pxelinux.cfg/default-arm-sunxi *** ERROR: `serverip' not set missing environment variable: bootfile Retrieving file: pxelinux.cfg/default-arm *** ERROR: `serverip' not set missing environment variable: bootfile Retrieving file: pxelinux.cfg/default *** ERROR: `serverip' not set Config file not found BOOTP broadcast 1 BOOTP broadcast 2 BOOTP broadcast 3 BOOTP broadcast 4 BOOTP broadcast 5 BOOTP broadcast 6 BOOTP broadcast 7 BOOTP broadcast 8 BOOTP broadcast 9 BOOTP broadcast 10 BOOTP broadcast 11 BOOTP broadcast 12 BOOTP broadcast 13 BOOTP broadcast 14 BOOTP broadcast 15 BOOTP broadcast 16 BOOTP broadcast 17 Retry time exceeded; starting again BOOTP broadcast 1 BOOTP broadcast 2 BOOTP broadcast 3 BOOTP broadcast 4 BOOTP broadcast 5 BOOTP broadcast 6 BOOTP broadcast 7 BOOTP broadcast 8 BOOTP broadcast 9 BOOTP broadcast 10 BOOTP broadcast 11 BOOTP broadcast 12 BOOTP broadcast 13 BOOTP broadcast 14 BOOTP broadcast 15 BOOTP broadcast 16 BOOTP broadcast 17
Thank you
Marco
-
On 6/22/2018 at 11:48 AM, projetoarduino said:
Thank you projetoarduino.
I saw a script called "gen_mac.sh". is it enough that I launch it only once after replacing the file "sun8i-h3-nanopi-neo.dtb"?
Marco
-
On 30 aprile 2018 at 4:05 AM, kjn260 said:
Hi All,
So after some learning and playing, there are three options that worked for me:
1) use nanopi-air config, use armbian build to patch device tree for uboot, and patch device tree for kernel to add sun8i emac device. Patch air defconfig to include CONFIG_SUN8i_EMAC = Y.
2) use nanopi-neo config, use armbian build to patch device tree for uboot , and patch device tree for kernel to add mmc device(s). Use Igor's patch above to patch the neo defconfig.
3) write custom board configuration, defconfig, and device trees (uboot and kernel) for a "nanopi-neo-core", patch the kernel device tree makefile and make a custom core image [nanopi-air (+ ethernet) (-wireless)]
Option 3 worked the best for me, and I now have a nanopi neo core image (and build defs) that supports installation (and boot) from eMMC and also has functioning ethernet in uboot and kernel, that I can run from armbian build. Huzzah.
I suppose I could push my files from 3) to mainline, but I have never been a contributor (so I don't know the rules) and this goes against the intended plans for the "CORE" Devices. Igor, what are your thoughts?
Hello,
I would be interested in the linux image for the Nanopi NEO Core, or understand what are the steps necessary to create it (I'm not very familiar with embedded linux or kernel recompiling).
Regards
Marco
failed to modify connection with "nmcli" command, connection is read-only
in Allwinner sunxi
Posted
I solved the problem by removing all the references to the wired connection from the "/etc/network/interfaces" file and creating one in NetworkManager. Clearly I set the "managed" parameter to "false" in NetworkManager.conf
Regards
Marco