NanoPi Neo - Can't start Topic is solved

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
visionimpaired

NanoPi Neo - Can't start

Post by visionimpaired »

Hi All.
I am new to DietPi and I wanted to try it on my NanoPi Neo.
I downloaded the image, plugged into my router and all I get are both lights on the ethernet port permanently on and the green led permanently on.

I know the board is OK because before trying DietPi, I use the FriendlyArm Ubuntu Distro.

Any clues on where I have gone wrong?

Thanks in advance.
V.
User avatar
k-plan
Posts: 416
Joined: Sun Feb 28, 2016 5:28 pm

Re: NanoPi Neo - Can't start

Post by k-plan »

Hi V. ,
visionimpaired wrote:Any clues on where I have gone wrong?

hmm, sounds like your device won't boot up.

Have you the possibility to connect a serial communication board on the Debug Port(UART0)?

If not:
  • do you use a compatible microSD card?
  • connected a microUSB power with min. 5V/2A power ( > 2A it's a must have!)
  • check the md5sum hash (md5=f6f8312602bb09474cecbccb47e42c66) of "DietPi_v127_NanoPiNEO-armv7-(Jessie).img" before you burn it to microSD card?
cu
k-plan
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal and Bitcoin.
User avatar
Fourdee
Site Admin
Posts: 2787
Joined: Tue Feb 06, 2007 1:36 pm

Re: NanoPi Neo - Can't start

Post by Fourdee »

visionimpaired wrote:all I get are both lights on the ethernet port permanently on and the green led permanently on.
Hi,

This is normal for the NEO, its a bit of a nightmare to determine if the device is actually "Active". The green eth LED will flicker when there is activity. Beyond that, there is no indication of activity.

I just tried the DietPi image on a fresh installation, it seems to be working ok here.

The only thing I can suggest is connect up serial line, as per K-Plan's suggestion if you have one. Its enabled by default.
If not, just try to verify the IP address in your router "connected DHCP clients" page, or similar. Maybe try pinging the IP also.

Failing that, if you are still getting issues, please let us know.
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
User avatar
k-plan
Posts: 416
Joined: Sun Feb 28, 2016 5:28 pm

Re: NanoPi Neo - Can't start

Post by k-plan »

Hi,
Fourdee wrote:This is normal for the NEO, its a bit of a nightmare to determine if the device is actually "Active".
Yes!
Fourdee wrote:The green eth LED will flicker when there is activity.
No, my NanoPi Neo doesn't do so. Green on board LED is configured as "power LED", by "/boot/script.bin "

If you want to see sd card activity by the blue on board LED, you have to add at the end of /etc/rc.local just before exit 0:

Code: Select all

#### switch on blue LED for sd card activity
echo 1 >/sys/class/leds/blue_led/brightness
echo mmc0 >/sys/class/leds/blue_led/trigger

exit 0
Now it will light, if where is any sd card activity. But this will be done first after booting up and load /etc/rc.local

If you want sd card boot activity, you have to edit script.fex and compile via Sunxi-tools.

Code: Select all

apt-get install sunxi-tools

cp /boot/script.bin /boot/script.bin.bac

bin2fex -vq /boot/script.bin script.fex

nano script.fex

fex2bin -vq script.fex /boot/script.bin
https://github.com/igorpecovnik/lib/blo ... opineo.fex

Changes:

Code: Select all

...

[card_boot]
logical_start = 40960
sprite_work_delay = 500
sprite_err_delay = 200
sprite_gpio1 = port:PA10<1><default><default><1>
next_work = 3

....

[boot_init_gpio]
used = 1
gpio0 = port:PL10<1><default><default><1>
gpio1 = port:PA10<1><default><default><0>

....

[leds_para]
leds_used = 1
green_led = port:PL10<1><default><default><1>
green_led_active_low = 0
blue_led = port:PA10<1><default><default><1>
blue_led_active_low = 0

...
If you will try it, download, unpack, copy to /boot/ and reboot. Don't forget to edit /etc/rc.local before reboot.

cu
k-plan
Attachments
script.bin.zip
(10.03 KiB) Downloaded 193 times
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal and Bitcoin.
User avatar
Fourdee
Site Admin
Posts: 2787
Joined: Tue Feb 06, 2007 1:36 pm

Re: NanoPi Neo - Can't start

Post by Fourdee »

k-plan wrote:If you want to see sd card activity by the blue on board LED, you have to add at the end of /etc/rc.local just before exit 0:
If you want sd card boot activity, you have to edit script.fex and compile via Sunxi-tools.
Awesome :), i'll have to give this a spin!
The green eth LED will flicker when there is activity.
Ah my bad. I meant to say "the green LED on Ethernet port will flicker when there is network activity". So could of been used to determine if the device is powered.
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
User avatar
k-plan
Posts: 416
Joined: Sun Feb 28, 2016 5:28 pm

Re: NanoPi Neo - Can't start

Post by k-plan »

Fourdee wrote:I meant to say "the green LED on Ethernet port will flicker when there is network activity". So could of been used to determine if the device is powered.
Yes, the one and only activity indicator by default. :shock:
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal and Bitcoin.
Post Reply