Nano Pi Air on board Wifi radio

Help with FriendlyArm Nano Pi Neo / Neo Air
Post Reply
K7IZA
Posts: 3
Joined: Thu May 03, 2018 5:27 pm

Nano Pi Air on board Wifi radio

Post by K7IZA »

Hi Andy, Everything seems to be working great on the Micro-Node NanoSpot except the onboard WiFi radio doesn't appear to be enabled.
KE7FNS
Pi-Star Team
Posts: 1919
Joined: Wed Apr 17, 2019 11:11 pm

Re: Nano Pi Air on board Wifi radio

Post by KE7FNS »

K7IZA wrote: Sat Feb 06, 2021 12:48 am Hi Andy, Everything seems to be working great on the Micro-Node NanoSpot except the onboard WiFi radio doesn't appear to be enabled.
Another user reported that the MAC address of the ethernet port changes randomly at each boot on the Nano Pi Neo image.

However, its good to see you again Mark, I've chatted with you on the Winsystem. There have been a few people that have posted on here that have been searching for you looking for support for some of your old products.
If someones previous actions are any indication of their future actions, then I predict the deletion and removal of access will happen at any moment. 7-11-2020.

"07/13/20 This Website Has Been Taken Down" ... again :lol:
User avatar
MW0MWZ
Site Admin
Posts: 1357
Joined: Wed Apr 04, 2018 9:15 pm
Location: Wales, UK
Contact:

Re: Nano Pi Air on board Wifi radio

Post by MW0MWZ »

K7IZA wrote: Sat Feb 06, 2021 12:48 am Hi Andy, Everything seems to be working great on the Micro-Node NanoSpot except the onboard WiFi radio doesn't appear to be enabled.
If you tried to use the NanoPi image, that is because this is the NanoPi Neo image and not the "Air" image.
There are some slight kernel/module differences between them, and this is why we have the two versions.

I will do the "Air" build soon - that should clear up the WiFi issues.
Andy

73 de MW0MWZ
http://pistar.uk
User avatar
MW0MWZ
Site Admin
Posts: 1357
Joined: Wed Apr 04, 2018 9:15 pm
Location: Wales, UK
Contact:

Re: Nano Pi Air on board Wifi radio

Post by MW0MWZ »

New "Air" image will be uploaded today (its actually on the way to the server now...) so look out for that and give it a try.
Andy

73 de MW0MWZ
http://pistar.uk
K7IZA
Posts: 3
Joined: Thu May 03, 2018 5:27 pm

Re: Nano Pi Air on board Wifi radio

Post by K7IZA »

Works Great! Thank you Andy...

I tried to clone the SDCard image to the on board eMMC the transfer seemed successful but when I tried to boot from the eMMC it failed.
Here is a screen shot of the console during boot.

U-Boot 2020.10-armbian (Feb 03 2021 - 23:18:46 +0100) Allwinner Technology

CPU: Allwinner H3 (SUN8I 1680)
Model: FriendlyARM NanoPi NEO Air
DRAM: 512 MiB
MMC: [email protected]: 0, [email protected]: 2, [email protected]: 1
Loading Environment from FAT... *** Warning - bad CRC, using default environment

In: serial
Out: serial
Err: serial
Net: No ethernet found.
starting USB...
No working 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.scr
3967 bytes read in 3 ms (1.3 MiB/s)
## Executing script at 43100000
U-boot loaded from eMMC or secondary SD
MMC: no card present
Boot script loaded from mmc
212 bytes read in 1 ms (207 KiB/s)
9935186 bytes read in 749 ms (12.6 MiB/s)
7935432 bytes read in 599 ms (12.6 MiB/s)
Found mainline kernel configuration
34270 bytes read in 7 ms (4.7 MiB/s)
504 bytes read in 4 ms (123 KiB/s)
Applying kernel provided DT overlay sun8i-h3-usbhost1.dtbo
374 bytes read in 4 ms (90.8 KiB/s)
Applying kernel provided DT overlay sun8i-h3-i2c0.dtbo
502 bytes read in 4 ms (122.1 KiB/s)
Applying kernel provided DT overlay sun8i-h3-uart1.dtbo
502 bytes read in 4 ms (122.1 KiB/s)
Applying kernel provided DT overlay sun8i-h3-uart2.dtbo
4185 bytes read in 3 ms (1.3 MiB/s)
Applying kernel provided DT fixup script (sun8i-h3-fixup.scr)
## Executing script at 45000000
## Loading init Ramdisk from Legacy Image at 43300000 ...
Image Name: uInitrd
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 9935122 Bytes = 9.5 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 49686000, end 49fff912 ... OK
Loading Device Tree to 49615000, end 49685fff ... OK

Starting 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: Waiting for root file system ... Begin: Running /scripts/local-block ...
done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
done.
Gave up waiting for root file system device. Common problems:
- Boot args (cat /proc/cmdline)
- Check rootdelay= (did the system wait long enough?)
- Missing modules (cat /proc/modules; ls /dev)
ALERT! /dev/mmcblk0p2 does not exist. Dropping to a shell!
(initramfs)
K7IZA
Posts: 3
Joined: Thu May 03, 2018 5:27 pm

Re: Nano Pi Air on board Wifi radio

Post by K7IZA »

Here is a console screen shot of the cloning process.

[email protected](rw):~$ sudo pistar-clone mmcblk2

Forcing a partition initialization of destination disk mmcblk2
The existing destination disk 'mmcblk2' partitions are:
Disk /dev/mmcblk2: 7818MB
Partition Table: msdos

Number Start End Size Type File system Flags
1 4.15MB 67.1MB 63.0MB primary fat16 lba
2 70.3MB 1937MB 1866MB primary ext4

*** All data on destination disk mmcblk2 will be overwritten! ***

Do you want to initialize the destination disk /dev/mmcblk2? (yes/no): y

Imaging the partition structure, copying 78 megabytes...
78+0 records in
78+0 records out
81788928 bytes (82 MB, 78 MiB) copied, 11.2693 s, 7.3 MB/s
Running fsck on /dev/mmcblk2p1...
Sizing partition 2 (root partition) to use all SD card space...
Partition #2 contains a ext4 signature.
mke2fs 1.44.5 (15-Dec-2018)
/dev/mmcblk2p2 contains a ext4 file system labelled 'pi-star'
last mounted on / on Sun Feb 7 15:17:07 2021
Discarding device blocks: done
Creating filesystem with 455680 4k blocks and 114016 inodes
Filesystem UUID: 0b37a061-156b-4e29-8212-172cc5bb1448
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912

Allocating group tables: done
Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done


/dev/mmcblk2 is initialized and resized. Its partitions are:
Disk /dev/mmcblk2: 7818MB
Partition Table: msdos

Number Start End Size Type File system Flags
1 4.15MB 67.1MB 63.0MB primary fat16 lba
2 70.3MB 1937MB 1866MB primary ext4


Your booted /dev/mmcblk0p2 rootfs existing label: pi-star
You may enter a label for the destination rootfs /dev/mmcblk2p2:

======== Clone Summary ========
Clone mode : rsync all files to mmcblk2 root file system
Clone destination disk : mmcblk2
Clone destination rootfs : /dev/mmcblk2p2 (no label) on /mnt/clone
Clone destination bootfs : /dev/mmcblk2p1 on /mnt/clone/boot
Verbose mode : off
===============================
Final check, is it Ok to proceed with the clone (yes/no)?: y
=> Mounting /dev/mmcblk2p2 (no label) on /mnt/clone
=> Mounting /dev/mmcblk2p1 on /mnt/clone/boot
===============================
Starting the filesystem rsync to mmcblk2
(This may take several minutes).../usr/local/sbin/pistar-clone: line 489: /mnt/c
lone//var/log/pistar-clone.log: No such file or directory

*** Done with clone to /dev/mmcblk2 ***
Started: 19:50:47 Finished: 19:54:05


*** Writing zero's to the remaining disk space, this will take a few mins...

unmounting /mnt/clone/boot
unmounting /mnt/clone
===============================
User avatar
MW0MWZ
Site Admin
Posts: 1357
Joined: Wed Apr 04, 2018 9:15 pm
Location: Wales, UK
Contact:

Re: Nano Pi Air on board Wifi radio

Post by MW0MWZ »

There is more to it than just a bare clone process, I have not added the specifics to move the image to the MMC yet.
Short version is that you need to change the /etc/fstab and uboot information because the disk ID is no longer the same.

Please run it on an SD card for a while to make sure its good, and I'll add the script back in for the final release (its this kind of thing that keeps it in the beta section at the moment).

I'm also working up a method to upgrade the kernel on these non-raspberry pi systems - so I hope to bring that along too soon.
Andy

73 de MW0MWZ
http://pistar.uk
KC2IGS
Posts: 4
Joined: Mon Nov 30, 2020 9:24 pm

Re: Nano Pi Air on board Wifi radio

Post by KC2IGS »

Greeting to all!
Just curious if the cloning process to transfer Pi-Star I’ve to MMC works now or if there’s a working method to install it on MMC.

Thank you.
‘73!
Art
KC2IGS
User avatar
MW0MWZ
Site Admin
Posts: 1357
Joined: Wed Apr 04, 2018 9:15 pm
Location: Wales, UK
Contact:

Re: Nano Pi Air on board Wifi radio

Post by MW0MWZ »

I haven't got to it yet - might get to it this weekend.. but I can't promise that yet...
Andy

73 de MW0MWZ
http://pistar.uk
Post Reply