Jump to content

bbtftf

Members
  • Posts

    11
  • Joined

  • Last visited

  1. We found a reliable way to update the current image on our boards. This is thanks to the many replies and hints to our question... If there is access to a "mountable" device during boot, we have a solution to our problem. So, we can consider this thread to be "closeable".
  2. We have a project based on FriendlArm's NanoPi Neo Air board. Currently the devices are running Armbian 18.04 LTS loaded from emmc. We are looking for a way to update the devices "offline" / with no user interaction. We can upload data to the devices via FTP and also can execute shell scripts. We can not easily access the on-board micro SD slot but have an external SD-Slot / USB-A Port with lots of free memory on each device. Any hints or explanations are very welcome!
  3. On a NanoPi Neo Air I would like to force a USB-connected SDcard reader (which natively uses 4-Bit transfer) to only use 1Bit mode. Any ideas how to configure the driver / device tree to do that?
  4. I am looking for a working python "wiring library" for the NanoPi Air.... With pyGPIO i have limited success. Only GPIO4 seems to work. Just a quick "use this libray for python..." please. I need 3 GPIO pins (and UART1 which is working well under python...) Thank you!
  5. Miracle? While waiting for the 6GB Friendlyarm Ubuntu Image I did: 1. Reboot again 2. copied the image with nand-sata-install into eMMC 3. rebooted again 4. and tried nmtui-connect .... Oh wonder now I got all WLANs in the vincinity and was able to connect.... But I would like to understand why.......
  6. Sorry, but no luck... I try to go back to the Friendlyarm image and see if WiFi works there.... I will report.
  7. Here is the UBoot log after fresh install of Debian (before first login): U-Boot SPL 2019.04-armbian (Aug 05 2019 - 18:00:58 +0200) DRAM: 512 MiB Trying to boot from MMC1 U-Boot 2019.04-armbian (Aug 05 2019 - 18:00:58 +0200) Allwinner Technology CPU: Allwinner H3 (SUN8I 1680) Model: FriendlyARM NanoPi NEO Air DRAM: 512 MiB MMC: Device 'mmc@1c11000': seq 1 is in use by 'mmc@1c10000' mmc@1c0f000: 0, mmc@1c10000: 2, mmc@1c11000: 1 Loading Environment from EXT4... ** File not found /boot/boot.env ** ** Unable to read "/boot/boot.env" from mmc0:1 ** In: serial Out: serial Err: serial Net: No ethernet found. starting USB... No controllers 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 3798 bytes read in 2 ms (1.8 MiB/s) ## Executing script at 43100000 U-boot loaded from SD Boot script loaded from mmc 181 bytes read in 1 ms (176.8 KiB/s) 6747520 bytes read in 520 ms (12.4 MiB/s) 7499128 bytes read in 574 ms (12.5 MiB/s) Found mainline kernel configuration 30999 bytes read in 10 ms (3 MiB/s) 504 bytes read in 9 ms (54.7 KiB/s) Applying kernel provided DT overlay sun8i-h3-usbhost1.dtbo 504 bytes read in 4 ms (123 KiB/s) Applying kernel provided DT overlay sun8i-h3-usbhost2.dtbo 4155 bytes read in 6 ms (675.8 KiB/s) Applying kernel provided DT fixup script (sun8i-h3-fixup.scr) ## Executing script at 44000000 ## Loading init Ramdisk from Legacy Image at 43300000 ... Image Name: uInitrd Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 6747456 Bytes = 6.4 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 43000000 Booting using the fdt blob at 0x43000000 Loading Ramdisk to 49990000, end 49fff540 ... OK Loading Device Tree to 49920000, end 4998ffff ... OK Starting kernel ... Uncompressing Linux... done, booting the kernel. Loading, please wait... Starting version 241 Begin: Loading essential drivers ... done. Begin: Running /scripts/init-premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. Begin: Running /scripts/local-premount ... Scanning for Btrfs filesystems done. Begin: Will now check root file system ... fsck from util-linux 2.33.1 [/sbin/fsck.ext4 (1) -- /dev/mmcblk0p1] fsck.ext4 -a -C0 /dev/mmcblk0p1 /dev/mmcblk0p1: clean, 37217/71280 files, 243192/284672 blocks done. done. Begin: Running /scripts/local-bottom ... done. Begin: Running /scripts/init-bottom ... done. Welcome to Debian GNU/Linux 10 (buster)! [ OK ] Reached target System Time Synchronized. [ OK ] Listening on Syslog Socket. [ OK ] Listening on fsck to fsckd communication Socket. [ OK ] Set up automount Arbitrary…s File System Automount Point. [ OK ] Listening on udev Kernel Socket. [ OK ] Started Dispatch Password …ts to Console Directory Watch. [ OK ] Listening on Journal Audit Socket. [ OK ] Listening on Journal Socket (/dev/log). [ OK ] Reached target Remote File Systems. [ OK ] Created slice system-serial\x2dgetty.slice. [ OK ] Created slice User and Session Slice. [ OK ] Reached target Slices. [ OK ] Listening on initctl Compatibility Named Pipe. [ OK ] Reached target Swap. [ OK ] Listening on Journal Socket. Starting Journal Service... Starting Nameserver information manager... Starting Restore / save the current clock... Mounting Kernel Debug File System... Mounting POSIX Message Queue File System... Starting Create list of re…odes for the current kernel... Starting Set the console keyboard layout... Starting Remount Root and Kernel File Systems... [ OK ] Listening on udev Control Socket. Starting udev Coldplug all Devices... Starting Load Kernel Modules... [ OK ] Started Forward Password R…uests to Wall Directory Watch. [ OK ] Reached target Local Encrypted Volumes. [ OK ] Reached target Paths. [ OK ] Started Restore / save the current clock. [ OK ] Mounted Kernel Debug File System. [ OK ] Mounted POSIX Message Queue File System. [ OK ] Started Create list of req… nodes for the current kernel. [ OK ] Started Remount Root and Kernel File Systems. [ OK ] Started Nameserver information manager. [ OK ] Started Journal Service. Starting Load/Save Random Seed... Starting Create System Users... Starting Flush Journal to Persistent Storage... [ OK ] Started Load Kernel Modules. [ OK ] Started Load/Save Random Seed. Starting Apply Kernel Variables... Mounting Kernel Configuration File System... [ OK ] Started Flush Journal to Persistent Storage. [ OK ] Mounted Kernel Configuration File System. [ OK ] Started Create System Users. Starting Create Static Device Nodes in /dev... [ OK ] Started Apply Kernel Variables. [ OK ] Started Create Static Device Nodes in /dev. Starting udev Kernel Device Manager... [ OK ] Started Set the console keyboard layout. [ OK ] Reached target Local File Systems (Pre). Mounting /tmp... [ OK ] Started udev Kernel Device Manager. [ OK ] Mounted /tmp. [ OK ] Reached target Local File Systems. Starting Armbian ZRAM config... Starting Create Volatile Files and Directories... Starting Set console font and keymap... [ OK ] Started Set console font and keymap. [ OK ] Started Create Volatile Files and Directories. [ OK ] Started udev Coldplug all Devices. Starting Helper to synchronize boot up for ifupdown... Starting Update UTMP about System Boot/Shutdown... [ OK ] Started Entropy daemon using the HAVEGE algorithm. [ OK ] Started Helper to synchronize boot up for ifupdown. [ OK ] Found device /dev/ttyGS0. [ OK ] Started Update UTMP about System Boot/Shutdown. [ OK ] Found device /dev/ttyS0. [ OK ] Started Armbian ZRAM config. Starting Armbian memory supported logging... [ OK ] Listening on Load/Save RF …itch Status /dev/rfkill Watch. Starting Raise network interfaces... Starting Load/Save RF Kill Switch Status... [ OK ] Started Load/Save RF Kill Switch Status. [ OK ] Started Raise network interfaces. [ OK ] Started Armbian memory supported logging. [ OK ] Reached target System Initialization. [ OK ] Listening on D-Bus System Message Bus Socket. [ OK ] Reached target Sockets. [ OK ] Started Daily rotation of log files. Starting Armbian hardware monitoring... [ OK ] Started Daily apt download activities. [ OK ] Started Daily apt upgrade and clean activities. Starting Armbian hardware optimization... [ OK ] Started Daily Cleanup of Temporary Directories. [ OK ] Started Daily man-db regeneration. [ OK ] Reached target Timers. Starting Armbian filesystem resize... [ OK ] Started Armbian hardware monitoring. [ OK ] Started Armbian hardware optimization. [ OK ] Started Armbian filesystem resize. [ OK ] Reached target Basic System. Starting LSB: Load kernel …d to enable cpufreq scaling... Starting Login Service... [ OK ] Started D-Bus System Message Bus. Starting Resets System Activity Data Collector... Starting WPA supplicant... Starting Network Manager... Starting System Logging Service... [ OK ] Started Armbian first run tasks. [ OK ] Created slice system-getty.slice. [ OK ] Started Regular background program processing daemon. [ OK ] Started Resets System Activity Data Collector. [ OK ] Started Login Service. [ OK ] Started System Logging Service. [ OK ] Started LSB: Load kernel m…ded to enable cpufreq scaling. [ OK ] Started WPA supplicant. Starting LSB: set CPUFreq kernel parameters... [ OK ] Started LSB: set CPUFreq kernel parameters. Starting LSB: Set sysfs variables from /etc/sysfs.conf... [ OK ] Started LSB: Set sysfs variables from /etc/sysfs.conf. [ OK ] Started Network Manager. Starting Network Manager Wait Online... [ OK ] Reached target Network. [ OK ] Started Unattended Upgrades Shutdown. Starting Network Time Service... Starting OpenBSD Secure Shell server... Starting Permit User Sessions... [ OK ] Started Permit User Sessions. Starting Hostname Service... [ OK ] Started Network Time Service. [ OK ] Started Hostname Service. Starting Network Manager Script Dispatcher Service... [ OK ] Started Network Manager Script Dispatcher Service. [ OK ] Started OpenBSD Secure Shell server. Starting Authorization Manager... [ OK ] Started Network Manager Wait Online. [ OK ] Reached target Network is Online. Starting /etc/rc.local Compatibility... Starting LSB: Advanced IEEE 802.11 management daemon... [ OK ] Started /etc/rc.local Compatibility. [ OK ] Started LSB: Advanced IEEE 802.11 management daemon. [ OK ] Started Authorization Manager. [ OK ] Started Serial Getty on ttyGS0. [ OK ] Started Getty on tty1. [ OK ] Started Serial Getty on ttyS0. [ OK ] Reached target Login Prompts. [ OK ] Reached target Multi-User System. [ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... [ OK ] Started Update UTMP about System Runlevel Changes. Debian Buster with Armbian Linux ttyS0 nanopiair login:
  8. I will try but this is what I have done before. I was in Armbian config and enabled uarts and usbhosts (because I need them and used them in the Friendlyarm ubuntu 16.04 image) But I will do another fresh install and report. Please verify: After this install I 1,) change password for root, 2.) create an new user , 3.) reboot, 4.) call "nmtui-connect" . As stated in: https://docs.armbian.com/User-Guide_Getting-Started/
  9. Here: U-Boot SPL 2019.04-armbian (Aug 05 2019 - 18:00:58 +0200) DRAM: 512 MiB Trying to boot from MMC2 U-Boot 2019.04-armbian (Aug 05 2019 - 18:00:58 +0200) Allwinner Technology CPU: Allwinner H3 (SUN8I 1680) Model: FriendlyARM NanoPi NEO Air DRAM: 512 MiB MMC: Device 'mmc@1c11000': seq 1 is in use by 'mmc@1c10000' mmc@1c0f000: 0, mmc@1c10000: 2, mmc@1c11000: 1 Loading Environment from EXT4... In: serial Out: serial Err: serial Net: No ethernet found. starting USB... No controllers found Autoboot in 1 seconds, press <Space> to stop switch to partitions #0, OK mmc1(part 0) is current device Scanning mmc 1:1... Found U-Boot script /boot/boot.scr 3798 bytes read in 1 ms (3.6 MiB/s) ## Executing script at 43100000 U-boot loaded from eMMC or secondary SD Boot script loaded from mmc 341 bytes read in 1 ms (333 KiB/s) 8121495 bytes read in 625 ms (12.4 MiB/s) 7499128 bytes read in 577 ms (12.4 MiB/s) Found mainline kernel configuration 30999 bytes read in 8 ms (3.7 MiB/s) 382 bytes read in 9 ms (41 KiB/s) Applying kernel provided DT overlay sun8i-h3-cir.dtbo 374 bytes read in 8 ms (44.9 KiB/s) Applying kernel provided DT overlay sun8i-h3-i2c0.dtbo 374 bytes read in 7 ms (51.8 KiB/s) Applying kernel provided DT overlay sun8i-h3-i2c1.dtbo 374 bytes read in 8 ms (44.9 KiB/s) Applying kernel provided DT overlay sun8i-h3-i2c2.dtbo 778 bytes read in 7 ms (108.4 KiB/s) Applying kernel provided DT overlay sun8i-h3-pps-gpio.dtbo 1043 bytes read in 8 ms (127 KiB/s) Applying kernel provided DT overlay sun8i-h3-spdif-out.dtbo 1177 bytes read in 8 ms (143.6 KiB/s) Applying kernel provided DT overlay sun8i-h3-spi-add-cs1.dtbo 804 bytes read in 8 ms (97.7 KiB/s) Applying kernel provided DT overlay sun8i-h3-spi-jedec-nor.dtbo 780 bytes read in 8 ms (94.7 KiB/s) Applying kernel provided DT overlay sun8i-h3-spi-spidev.dtbo 502 bytes read in 8 ms (60.5 KiB/s) Applying kernel provided DT overlay sun8i-h3-uart1.dtbo 502 bytes read in 8 ms (60.5 KiB/s) Applying kernel provided DT overlay sun8i-h3-uart2.dtbo 502 bytes read in 8 ms (60.5 KiB/s) Applying kernel provided DT overlay sun8i-h3-uart3.dtbo 504 bytes read in 9 ms (54.7 KiB/s) Applying kernel provided DT overlay sun8i-h3-usbhost0.dtbo 504 bytes read in 8 ms (61.5 KiB/s) Applying kernel provided DT overlay sun8i-h3-usbhost1.dtbo 504 bytes read in 8 ms (61.5 KiB/s) Applying kernel provided DT overlay sun8i-h3-usbhost2.dtbo 504 bytes read in 8 ms (61.5 KiB/s) Applying kernel provided DT overlay sun8i-h3-usbhost3.dtbo 4155 bytes read in 9 ms (450.2 KiB/s) Applying kernel provided DT fixup script (sun8i-h3-fixup.scr) ## Executing script at 44000000 ## Loading init Ramdisk from Legacy Image at 43300000 ... Image Name: uInitrd Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 8121431 Bytes = 7.7 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 43000000 Booting using the fdt blob at 0x43000000 Loading Ramdisk to 49841000, end 49fffc57 ... OK Loading Device Tree to 497d1000, end 49840fff ... OK Starting kernel ... Uncompressing Linux... done, booting the kernel. Loading, please wait... starting version 237 Begin: Loading essential drivers ... done. Begin: Running /scripts/init-premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. Begin: Running /scripts/local-premount ... Scanning for Btrfs filesystems done. Begin: Will now check root file system ... fsck from util-linux 2.31.1 [/sbin/fsck.ext4 (1) -- /dev/mmcblk1p1] fsck.ext4 -a -C0 /dev/mmcblk1p1 /dev/mmcblk1p1: recovering journal /dev/mmcblk1p1: clean, 35984/472352 files, 258857/1888624 blocks done. done. Begin: Running /scripts/local-bottom ... done. Begin: Running /scripts/init-bottom ... done. Welcome to Ubuntu 18.04.2 LTS! [ OK ] Started Forward Password Requests to Wall Directory Watch. [ OK ] Created slice System Slice. [ OK ] Reached target Remote File Systems. [ OK ] Reached target System Time Synchronized. [ OK ] Listening on udev Control Socket. [ OK ] Created slice User and Session Slice. [ OK ] Reached target Swap. [ OK ] Listening on udev Kernel Socket. [ OK ] Started ntp-systemd-netif.path. [ OK ] Listening on Journal Socket (/dev/log). [ OK ] Started Dispatch Password Requests to Console Directory Watch. [ OK ] Reached target Local Encrypted Volumes. [ OK ] Listening on Journal Audit Socket. [ OK ] Created slice system-serial\x2dgetty.slice. [ OK ] Reached target Slices. [ OK ] Set up automount Arbitrary Executab…rmats File System Automount Point. [ OK ] Listening on Journal Socket. Mounting Kernel Debug File System... Starting Load Kernel Modules... Starting Set the console keyboard layout... Starting Nameserver information manager... Starting Create list of required st…ce nodes for the current kernel... Starting udev Coldplug all Devices... [ OK ] Listening on /dev/initctl Compatibility Named Pipe. Starting Restore / save the current clock... [ OK ] Listening on Syslog Socket. Starting Journal Service... Mounting POSIX Message Queue File System... [ OK ] Listening on fsck to fsckd communication Socket. Starting Remount Root and Kernel File Systems... [ OK ] Mounted Kernel Debug File System. [ OK ] Started Load Kernel Modules. [ OK ] Started Create list of required sta…vice nodes for the current kernel. [ OK ] Started Restore / save the current clock. [ OK ] Mounted POSIX Message Queue File System. [ OK ] Started Remount Root and Kernel File Systems. [ OK ] Started Nameserver information manager. [ OK ] Reached target Network (Pre). Starting Load/Save Random Seed... Starting Create Static Device Nodes in /dev... Starting Apply Kernel Variables... Mounting Kernel Configuration File System... [ OK ] Started Load/Save Random Seed. [ OK ] Mounted Kernel Configuration File System. [ OK ] Started Create Static Device Nodes in /dev. [ OK ] Started Journal Service. [ OK ] Started Apply Kernel Variables. Starting Flush Journal to Persistent Storage... Starting udev Kernel Device Manager... [ OK ] Started Flush Journal to Persistent Storage. [ OK ] Started udev Kernel Device Manager. [ OK ] Found device /dev/ttyGS0. [ OK ] Started Set the console keyboard layout. [ OK ] Reached target Local File Systems (Pre). Mounting /tmp... [ OK ] Mounted /tmp. [ OK ] Reached target Local File Systems. Starting Create Volatile Files and Directories... Starting Raise network interfaces... Starting Armbian ZRAM config... Starting Set console font and keymap... [ OK ] Started Set console font and keymap. [ OK ] Started Create Volatile Files and Directories. Starting Network Name Resolution... Starting Update UTMP about System Boot/Shutdown... Starting Network Time Synchronization... [ OK ] Started Entropy daemon using the HAVEGE algorithm. [ OK ] Started Update UTMP about System Boot/Shutdown. [ OK ] Started udev Coldplug all Devices. [ OK ] Started Network Name Resolution. [ OK ] Reached target Host and Network Name Lookups. [ OK ] Started Network Time Synchronization. [ OK ] Found device /dev/ttyS0. [ OK ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch. Starting Load/Save RF Kill Switch Status... [ OK ] Started Load/Save RF Kill Switch Status. [ OK ] Started Raise network interfaces. [ OK ] Started Armbian ZRAM config. [ OK ] Reached target Sound Card. Starting Armbian memory supported logging... [ OK ] Started Armbian memory supported logging. [ OK ] Reached target System Initialization. Starting Armbian hardware monitoring... [ OK ] Started Daily apt download activities. [ OK ] Listening on D-Bus System Message Bus Socket. [ OK ] Reached target Sockets. [ OK ] Started Discard unused blocks once a week. [ OK ] Started Message of the Day. Starting Armbian hardware optimization... [ OK ] Started Daily apt upgrade and clean activities. [ OK ] Started resolvconf-pull-resolved.path. [ OK ] Reached target Paths. [ OK ] Started Daily Cleanup of Temporary Directories. [ OK ] Reached target Timers. [ OK ] Started Armbian hardware monitoring. [ OK ] Started Armbian hardware optimization. [ OK ] Reached target Basic System. Starting LSB: Patch firmware for ap6212 adapter... Starting Login Service... Starting LSB: Load kernel modules needed to enable cpufreq scaling... Starting System Logging Service... [ OK ] Started ntp-systemd-netif.service. Starting resolvconf-pull-resolved.service... Starting Save/Restore Sound Card State... Starting Resets System Activity Data Collector... [ OK ] Started D-Bus System Message Bus. [ OK ] Started Login Service. Starting WPA supplicant... [ OK ] Started Regular background program processing daemon. Starting Dispatcher daemon for systemd-networkd... Starting Network Manager... [ OK ] Started System Logging Service. [ OK ] Started LSB: Patch firmware for ap6212 adapter. [ OK ] Started resolvconf-pull-resolved.service. [ OK ] Started Resets System Activity Data Collector. [ OK ] Started Save/Restore Sound Card State. [ OK ] Started WPA supplicant. [ OK ] Started LSB: Load kernel modules needed to enable cpufreq scaling. Starting LSB: set CPUFreq kernel parameters... Starting Hostname Service... [ OK ] Started LSB: set CPUFreq kernel parameters. Starting LSB: Set sysfs variables from /etc/sysfs.conf... [ OK ] Started Hostname Service. [ OK ] Started Network Manager. Starting Network Manager Wait Online... [ OK ] Reached target Network. [ OK ] Started Unattended Upgrades Shutdown. Starting Permit User Sessions... Starting OpenBSD Secure Shell server... [ OK ] Started LSB: Set sysfs variables from /etc/sysfs.conf. [ OK ] Started Permit User Sessions. Starting Network Manager Script Dispatcher Service... Starting Set console scheme... [ OK ] Started Set console scheme. [ OK ] Created slice system-getty.slice. [ OK ] Started Network Manager Script Dispatcher Service. [ OK ] Started OpenBSD Secure Shell server. [ OK ] Started Dispatcher daemon for systemd-networkd. Starting Authorization Manager... [ OK ] Started Authorization Manager. [ OK ] Started Network Manager Wait Online. [ OK ] Reached target Network is Online. Starting LSB: Advanced IEEE 802.11 management daemon... Starting Message of the Day... Starting /etc/rc.local Compatibility... [ OK ] Started LSB: Advanced IEEE 802.11 management daemon. [ OK ] Started Message of the Day. [ OK ] Started /etc/rc.local Compatibility. [ OK ] Started Serial Getty on ttyGS0. [ OK ] Started Serial Getty on ttyS0. [ OK ] Started Getty on tty1. [ OK ] Reached target Login Prompts. [ OK ] Reached target Multi-User System. [ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... [ OK ] Started Update UTMP about System Runlevel Changes. Ubuntu Bionic with Armbian Linux ttyS0 nanopiair login: Password:
  10. Hello, I have downloaded and installed Armbian Buster mainline based kernel 4.19.y & Armbian Bionic mainline based kernel 4.19.y from https://www.armbian.com/nanopi-neo-air/ With both versions I have the same problem: WiFi is not working at all ! Before the installation I was running the Friendlyarm factory image and had no problems with WiFi. As I have no internet connection, I can not upload the ArmbianMonitor log. Running this gives no errors. root@nanopiair:~# armbianmonitor -v Starting package integrity check. This might take some time. Be patient please.. . It appears you don't have any corrupt files or packages! Running: root@nanopiair:~# nmcli dummy0: unmanaged "dummy0" dummy, F6:6D:BD:D6:43:A9, sw, mtu 1500 lo: unmanaged "lo" loopback (unknown), 00:00:00:00:00:00, sw, mtu 65536 Use "nmcli device show" to get complete information about known devices and "nmcli connection show" to get an overview on active connection profiles. shows there is no wlan0 ! also this root@nanopiair:~# ifconfig wlan0 up wlan0: ERROR while getting interface flags: No such device how can I start the device wlan0 ? Thomas
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines