Jump to content

Recommended Posts

Posted
  On 2/16/2019 at 6:05 AM, ImmortanJoe said:

This image should just boot from MicroSD once written with dd, right? The OPi3 is just skipping past it to the eMMC. The contents of the partitions appear to be intact. 

Expand  

yes this should work, i still do not own the hardware, it is on its way to me,...  armbian should have a script that does emmc installation for you, you can find it in armbian-config tool, is eth0 working for you ?

Posted

No. I put it on MicroSD. This has highest boot priority. It just went straight through to booting from eMMC. The contents of the MicroSD seemed to be intact. I'll have a better look at the serial output later. 

Posted
  On 2/16/2019 at 8:05 AM, ImmortanJoe said:

No. I put it on MicroSD. This has highest boot priority. It just went straight through to booting from eMMC. The contents of the MicroSD seemed to be intact. I'll have a better look at the serial output later. 

Expand  

could you try windisk imager 32, if you are using windows at all ?

Posted

i got an other issue, my patches are geting rejcted any idea why this happens ?

 

it creates makefile.rej

 

compling the source and doing the changes in interactive mode runs fine... but when i try to complie it afterwards it fails

for example:

[ warn ] * [l][c] board-orangepi-3.patch [ failed ]

 

 

Posted (edited)

@krachlatte

So it boots ok from SD card through debug port 

boot process: https://pastebin.com/AzesXntb

dmesg: https://pastebin.com/JG1Qis2y

 

Problems: 

1) Something wrong with ipv4 on eth0 - it is not discovered

2) "reboot" hangs the device.  

 

How can I help with support of OPi3 ? 

 

 

Edited by filimonic
Posted
  On 2/16/2019 at 9:20 AM, krachlatte said:

could you try windisk imager 32, if you are using windows at all ? 

Expand  

No sorry. I'm 100% ARM based these days. Mostly Armbian and RISC OS on my devices.

I'm sure my usage of dd was correct as I use it regularly. However I am painfully aware of a bug in something which otherwise silently causes a register dump to dmesg which can cause corruption issues. I wrote the image remotely nohup via ssh and didn't think to check for success beyond the nohup output file afterwards.

I will see if I can try again today. I don't have much direct access right now.

 

  On 2/16/2019 at 3:52 PM, filimonic said:

 

2) "reboot" hangs the device.  

 

Expand  

 

Don't concern yourself too much with that right now. I found that the Sunxi OrangePi Jessie Desktop image falls over into some kind of failure register dump mode after reboot. Other Orange Pi devices also seem to have reboot issues so it's hard to say yet whether it's a design failure or a software bug.

Usually wit any Orange Pi device I have, I apply the 10 second power cycle rule.

Posted (edited)

I haven't reimaged the MicroSD yet. It still has the first attempt on it. My OPi3 has Debian Jessie on the eMMC. There's also a SATA HDD plugged in to one of the USB3.0 ports currently, but results were the same without it.

 

I did go and grab the UART output for a boot with and without the Armbian SD in.

 

Here's the early boot results. I'm a little perplexed.

 

SD card in. Trying to boot Armbian:

  Reveal hidden contents

 

And with the SD card out, just booting Jessie:

  Reveal hidden contents

 

The Armbian MicroSD is doing something, but I' not totally sure what. Either way, it just boots into Debian Jessie.

Edited by Tido
added spoiler - please add a spoiler nexttime yourself, thx
Posted
  On 2/17/2019 at 6:38 PM, krachlatte said:

new release v0.06

 

https://github.com/krachlatte/armbian-orangepi3/releases

 

hi Guys, Ladies, eth works, this image also boots fine on beelink GS1 with networking enabled....

Expand  

 

eth0 seems to be even more broken in this release - fully down and no LEDs lit - this looks like the related error:

[  353.243507] platform 5020000.ethernet eth0: Could not attach to PHY
[  353.243513] platform 5020000.ethernet eth0: stmmac_open: Cannot attach to PHY (error: -19)

 

Full logs:

  Reveal hidden contents

 

Posted
  On 2/17/2019 at 11:22 PM, gnjack said:

 

eth0 seems to be even more broken in this release - fully down and no LEDs lit - this looks like the related error:

[  353.243507] platform 5020000.ethernet eth0: Could not attach to PHY
[  353.243513] platform 5020000.ethernet eth0: stmmac_open: Cannot attach to PHY (error: -19)

 

Full logs:

  Reveal hidden contents

 

Expand  

 

hi,

 

i got the same image burned to a 32Gb sd card, and it boots fine in my beelink GS1, i still do not have the orangepi 3 hardware, but could you please check the cable, is this realy a good one ?

 

 

[   22.184571] EXT4-fs (zram0): mounted filesystem without journal. Opts: discard
[   26.150515] RTL8211E Gigabit Ethernet stmmac-0:01: attached PHY driver [RTL8211E Gigabit Ethernet] (mii_bus:phy_addr=stmmac-0:01, irq=POLL)
[   26.152458] dwmac-sun8i 5020000.ethernet eth0: No Safety Features support found
[   26.152471] dwmac-sun8i 5020000.ethernet eth0: No MAC Management Counters available
[   26.152477] dwmac-sun8i 5020000.ethernet eth0: PTP not supported by HW
[   26.152752] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   31.264871] dwmac-sun8i 5020000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[   31.264904] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

 

 

i used this in /etc/network/interfaces to set the mac adress

 

allow-hotplug eth0
iface eth0 inet dhcp
    hwaddress ether 00:11:22:33:44:00

 

 

Posted
  On 2/17/2019 at 3:47 AM, ImmortanJoe said:

I haven't reimaged the MicroSD yet. It still has the first attempt on it. My OPi3 has Debian Jessie on the eMMC. There's also a SATA HDD plugged in to one of the USB3.0 ports currently, but results were the same without it.

 

Expand  

 

How did you get jessie installed on the eMMC?

Posted

I got my OPi3 by end of last week - tried your image now and have to conclude, that ethernet port is not showing any activity. Unfortunately I do not have any means of debugging up to now and fully depend on ssh access - so hoping for an updated version.
If I could be of any help, please let me know.
BR 

Posted
  On 2/18/2019 at 11:55 AM, jamespo said:

How did you get jessie installed on the eMMC?

Expand  

I'm phone posting so I don't have the info in front of me. Just roughly what I did was:

Download Debian Jessie Desktop for OPi3 from the OPi download section. Use the Google drive link there.

Before closing Drive, find the PDF manual. The website link points to the wrong manual. 

IIRC the eMMC flashing script name is in the manual. I couldn't find it anywhere else beforehand. 

Run the script and let the magic happen. 

There are more steps beforehand but the magic incantation for installation is in the manual. 

Posted
  On 2/18/2019 at 8:01 PM, ImmortanJoe said:

I'm phone posting so I don't have the info in front of me. Just roughly what I did was:

Download Debian Jessie Desktop for OPi3 from the OPi download section. Use the Google drive link there.

Before closing Drive, find the PDF manual. The website link points to the wrong manual. 

IIRC the eMMC flashing script name is in the manual. I couldn't find it anywhere else beforehand. 

Run the script and let the magic happen. 

There are more steps beforehand but the magic incantation for installation is in the manual. 

Expand  

 

Ah thanks - OrangePi_install2EMMC.sh

Posted

new release

 

https://github.com/krachlatte/armbian-orangepi3/releases/tag/v0.07

 

please check

 

running on beelink gs1, headless

 

is v0.07 working, please send me the dmesg output after you have changed the /boot/armbianEnv.txt and verbosity=7

 

also could you send

 

tail -n 100 /var/log/syslog

ifconfig -a

ethtool eth0

lsmod

 

 

 

or if you prefer in nmtui clone mac setting ...

 

/etc/network/interfaces to set the mac adress

 

allow-hotplug eth0
iface eth0 inet dhcp
    hwaddress ether 00:11:22:33:44:00

 

 

 

Posted
  On 2/20/2019 at 3:40 PM, krachlatte said:
Expand  

 

Thanks - still not working unfortunately, logs attached.

 

  Reveal hidden contents

 

Posted (edited)
  On 2/20/2019 at 3:40 PM, krachlatte said:

new release

 

https://github.com/krachlatte/armbian-orangepi3/releases/tag/v0.07

 

please check

 

running on beelink gs1, headless

Expand  

 

Thanks for the hard work @krachlatte

 

Never complied a kernel from scratch before and never owned a SBC other than Raspberry Pi's so this is going to be a very steep learning curve; but going to give it a go!

 

I loaded the provided Orange Pi 3 image ( Debian with GUI). Boots fine, and Ethernet works as expected. I've then copied / converted the .dts file from that image ( Included below). Could these be used to provide a Armbian image with working Ethernet since its based on a working OrangePi Device Tree?

 

I can't attached files; so I've inserted the contents of OrangePiH3.dts...

 

OrangePiH6.dts

 

Also can't use Spoiler for some reason?? apologies.

  Reveal hidden contents

 

Edited by Igor
spoilers
Posted
  On 2/24/2019 at 6:11 PM, alex.scott.961 said:

 

Thanks for the hard work @krachlatte

 

Never complied a kernel from scratch before and never owned a SBC other than Raspberry Pi's so this is going to be a very steep learning curve; but going to give it a go!

 

I loaded the provided Orange Pi 3 image ( Debian with GUI). Boots fine, and Ethernet works as expected. I've then copied / converted the .dts file from that image ( Included below). Could these be used to provide a Armbian image with working Ethernet since its based on a working OrangePi Device Tree?

 

I can't attached files; so I've inserted the contents of OrangePiH3.dts...

 

OrangePiH6.dts

 

Also can't use Spoiler for some reason?? apologies.

  Reveal hidden contents

 

 
Expand  

Hi alex.scott.961 this dts would work on a kernel with version 3.x, and what i am tring to do is tom get it running on kernel 4.x, totaly diffrent dts files, in v.0.09 i included the code mentioned here

 

https://groups.google.com/forum/#!forum/linux-sunxi

 

i still do not own the hardware, and with v0.07 until v0.09, it does not run on my beelink box anymore.

 

 

Posted (edited)
  On 2/24/2019 at 6:35 PM, krachlatte said:
Expand  

 

Thanks again @krachlatte - unfortunately v0.09 kernel fails to boot on my Orange Pi 3:

  Reveal hidden contents

 

Edited by Tido
added spoiler - please add a spoiler nexttime yourself, thx
Posted

mmm    Warning - bad CRC, using default environment, this does not look good, i will just do a new image and uploaded it.

 

v0.09 updated, full recompile done, and added another images that boots fine on my beelink gs1 with network,

 

beelink_v0.09_Armbian_5.76_Orangepi3_Ubuntu_bionic_dev_4.20.12.img.bz2

 

diffrences are in sun50i-h6.dtsi

 

emac: ethernet@5020000 {

 

beelink "allwinner,sun50i-a64-emac";

orangepi 3 "allwinner,sun50i-h6-emac";

 

Posted
  On 2/25/2019 at 9:49 AM, krachlatte said:

mmm    Warning - bad CRC, using default environment, this does not look good, i will just do a new image and uploaded it.

 

updated, full recompile done

Expand  

 

Still getting the same bad CRC error after re-flashing the updated v0.09 image.

  Reveal hidden contents

 

Posted

where to find a good device tree guide relatedt to GPIOs and how to creat dts files, i think there is a problem with dts files dt-bindings of the H6 and A64.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines