Jump to content

Recommended Posts

Posted

there was no sarcasm or malice. your delusional inter-recipe. I built an armbian 5.46 bionic and xenial two images. In both there is an old mistake with the meson8b-dwmac player. simply eth0 turns off after 3-5 minutes.Fortunately, there is wifi. I do not mind. after the changes everything works de luxe. browsers and other software I use all the time from yesterday from 15 o'clock and the system has never hung up. Also, I am happy thank you for the work you have done. It's good.

Posted

Sarcasm is not the same as malice, sarcasm can be used humourously or in an ironic context.  Delusional, on the other hand, is quite negative and I do not know what "inter-recipe" is.  It is difficult at times to have so many communicating in a 2nd language, not everyone's particular "flavor" is the same.  I get caught in conversations between Japan, Hungary, France, Germany and Mexico regularly, for instance.

 

I will review this Ethernet issue you report, can you verify the kernel you are using?  Also, the driver is not a mistake, it is the proper driver.  I experienced a brief self-correcting interruption transferring a large file, but so far have not experienced the connection going down.  I will try to aggravate the failure mode.

  • TonyMac32 changed the title to NanoPi K2 General Topics
Posted

So far the K2 has behaved for me, but obviously 1 guy may not provide an exhaustive enough test.

 

I pushed HDMI audio fixes for the Next kernel, which is currently 4.17 if anyone was getting frustrated over that.  Despite the applicable patch, DVFS is still showing me clock setting failures, it will change clock speed (according to the kernel, but we know it actually has little to no control of that), but only toggles between min and max (at least in my experience so far)

 

[edit]  I have found that I have no USB peripherals on the K2 with 4.17.  Will check into it.

 

SSH'd in: 

 dwc2 c9000000.usb: c9000000.usb supply vusb_d not found, using dummy regulator
[    2.614838] dwc2 c9000000.usb: c9000000.usb supply vusb_a not found, using dummy regulator
[    2.627851] dwc2 c9000000.usb: dwc2_check_params: Invalid parameter lpm=1
[    2.627856] dwc2 c9000000.usb: dwc2_check_params: Invalid parameter lpm_clock_gating=1
[    2.627859] dwc2 c9000000.usb: dwc2_check_params: Invalid parameter besl=1
[    2.627863] dwc2 c9000000.usb: dwc2_check_params: Invalid parameter hird_threshold_en=1
[    2.628240] dwc2 c9000000.usb: DWC OTG Controller
[    2.628259] dwc2 c9000000.usb: new USB bus registered, assigned bus number 1
[    2.628287] dwc2 c9000000.usb: irq 32, io mem 0xc9000000

So, everything is powered, but no one is home. 

Posted

Another update, I experimentally built a 4.17.8 image today and USB is working again.  @Igor if you have the C2 it would be good to verify there as well, we should roll out new meson64-next images that work.

 

Also still getting spammed with "failed to change CPU Frequency:  -5" here.

Posted
  On 7/20/2018 at 3:23 AM, TonyMac32 said:

Another update, I experimentally built a 4.17.8 image today and USB is working again.  @Igor if you have the C2 it would be good to verify there as well, we should roll out new meson64-next images that work.

Expand  

 

Somebody else will need to verify this. Don't have access to this particular hardware for another two weeks.

Posted

Tried the newest build for the K2. You guys are awesome. It has not locked up once and i can install it on usb media. Thank you so much for the hard work.

Posted

Current Kernel 4.19 dev images appear to have a "nobody home" USB situation again (brought t0 me by @martinayotte as he works on overlays, and I verified)  Just so fewer people are surprised.  Hopefully look into this next.

 

[edit] It appears USB hot plug is the culprit, the ports have power and the hubs are brought up during boot, but the peripherals only work if plugged in before boot, not after.  I just saw this issue on Tinker Board starting with (I think) 4.17, fixed via https://github.com/armbian/build/blob/master/patch/kernel/rockchip-dev/1008-rockchip-dwc2-usb-partial-power-down.patch  (Thank you @Myy for tracking that down)

 

I'll see if that is the same issue here, have you seen anything like this, @Neil Armstrong?  I'm not seeing the issue with Le Potato, but it also has a dwc3 controller in the mix.

Posted
  On 10/19/2019 at 1:26 PM, balbes150 said:

I am interested in the output of the UART console

Expand  

I took your u-boot.bin.sd.bin and write it to a sdcard with "dd", but, of course, it overwritted the partition table. So I recreate one, formatted it and placed a copy of my /boot folder.

(BTW, your u-boot doesn't support eMMC as shown here, it would be nice to add this support )

 

  Reveal hidden contents
Posted
  On 10/20/2019 at 2:16 PM, martinayotte said:

I took your u-boot.bin.sd.bin and write it to a sdcard with "dd", but, of course, it overwritted the partition table.

Expand  

You need to write the u-boot loader with two commands. Then the partition table is saved.  :)

 

dd if=u-boot.bin.sd.bin of=/dev/mmcblk0 conv=fsync bs=1 count=442

dd if=u-boot.bin.sd.bin of=/dev/mmcblk0 conv=fsync bs=512 skip=1 seek=1

 

https://github.com/150balbes/Amlogic_s905/wiki/s905_Unbrik_Amlogic_S905

 

 

  On 10/20/2019 at 2:16 PM, martinayotte said:

(BTW, your u-boot doesn't support eMMC as shown here, it would be nice to add this support )

Expand  

You tried for eMMC the second file (u-boot.bin)?

Posted
  On 10/21/2019 at 6:52 AM, balbes150 said:

You need to write the u-boot loader with two commands. Then the partition table is saved.  :)

 

dd if=u-boot.bin.sd.bin of=/dev/mmcblk0 conv=fsync bs=1 count=442

dd if=u-boot.bin.sd.bin of=/dev/mmcblk0 conv=fsync bs=512 skip=1 seek=1

Expand  

I did that at first, but it wasn't starting u-boot at all. So I've push the whole thing instead.

  On 10/21/2019 at 6:52 AM, balbes150 said:

You tried for eMMC the second file (u-boot.bin)?

Expand  

I didn't tried that one yet ...

Posted
  On 10/21/2019 at 1:50 PM, martinayotte said:

I did that at first, but it wasn't starting u-boot at all. So I've push the whole thing instead.

Expand  

Strange, According to LE users, this version of u-boot they run from the SD card.

You can write and check the file "u-boot.bin" on the SD card ?

Posted
  On 10/22/2019 at 6:19 AM, balbes150 said:

Can you test running this image ?

Expand  

U-Boot itself seems to work, but starting kernel make a reboot loop :

  Reveal hidden contents

 

I've then decided to remove the "quiet" argument to get more details, but strangely, this time it didn't do reboot loop, but stuck trying to mount sdcard :

 

  Reveal hidden contents

 

I think the problem is that I'm using plain class 10 SDCard ...

 

EDIT: I've compared with my running Armbian image, and SDCard is also shown as "ultra high speed DDR50 SDHC", but it also showing "[    3.126895]  mmcblk1: p1" which here with your image it stall even before showing partitions ...

 

 

Posted
  On 10/22/2019 at 2:48 PM, balbes150 said:

I correctly understood that nothing is displayed on the HDMI screen and the system hangs on this message for a long time (from the last UART log) ?

Expand  

I never use HDMI, so the above outputs are from UART log.

The strange thing is that with "quiet" argument, I get "[   37.019170] reboot: Restarting system", and without "quiet", it stay frozen ...

Posted
  On 10/22/2019 at 3:04 PM, martinayotte said:

I never use HDMI, so the above outputs are from UART log.

The strange thing is that with "quiet" argument, I get "[   37.019170] reboot: Restarting system", and without "quiet", it stay frozen ...

Expand  

Be sure to connect the HDMI output. Rebooting is a standard automatic procedure after the first system startup (after partition expansion). After the first reboot, the system should start and enable the initial setup wizard (waiting for answers from the user to HDMI). SSH is disabled by default on the first run (it is enabled either with an option on the command line or via the GUI on the running system). The u-boot files uploaded are taken from the Le operating system you are running.

Posted
  On 10/23/2019 at 9:46 PM, martinayotte said:

You right, it booted (and leave ttyAML0 useless, no login), I add to plug a mouse to navigate into menu.

But since my interest is headless, I've plugged back my Armbian image ... :P

Expand  

In this case, I was interested in the overall startup (works u-boot) in the LE image. Files from this u-boot I asked to check for work with Armbian. If LE normally starts with these files, then Armbian should start as well.

Posted

Did I understand correctly that you run with eMMC only works when the SD card is installed ? Without SD card (with mmc connected with bootloader) there is no output to UART console ?

Posted
  On 10/24/2019 at 2:03 PM, balbes150 said:

Did I understand correctly that you run with eMMC only works when the SD card is installed ? Without SD card (with mmc connected with bootloader) there is no output to UART console ?

Expand  

If I remove the SDCard, the BROM is searching for u-boot signature, but doesn't find it :

GXBB:BL1:08dafd:0a8993;FEAT:EDFC318C;POC:3;RCY:0;EMMC:0;READ:0;CHK:17A;SD:800;USB:8;LOOP:1;EMMC:0;READ:0;CHK:17A;SD:800;USB:8;

This occurs with either my Armbian u-boot.bin or the one you provided, installed using the following "dd" :

dd if=u-boot.bin of=/dev/mmcblk0 conv=fsync bs=1 count=442
dd if=u-boot.bin of=/dev/mmcblk0 conv=fsync bs=512 skip=1 seek=1 

If I leave the SD, I can boot with rootfs been on eMMC.

With my Armbian u-boot, I could even stop u-boot and do "setenv devnum 2" and "run mmc_boot", it loading everything from eMMC.

So it is only the first stage that doesn't work...

 

EDIT: I've just received a OdroidC2 yesterday and eMMC boot is working fine without SD, so I will try to compare both K2 and C2 u-boot sectors ...

 

EDIT2 : Seeing that eMMC U-Boot installation on C2 is done using those "dd" :

dd if=bl1.bin.hardkernel of=/dev/mmcblk0 bs=1 count=442 conv=fsync > /dev/null 2>&1;
dd if=bl1.bin.hardkernel of=/dev/mmcblk0 bs=512 skip=1 seek=1 conv=fsync > /dev/null 2>&1;
dd if=u-boot.bin of=/dev/mmcblk0 bs=512 seek=97 conv=fsync > /dev/null 2>&1

I've then decided to gave it a try by copying the bl1 file on my K2, but it screw up eMMC, didn't boot from SD anymore, so I had to disconnect eMMC temporarly and replug it back after stoping u-boot.

GXBB:BL1:08dafd:0a8993;FEAT:EDFC318C;POC:3;RCY:0;EMMC:0;READ:0;GXBB:BL1:08dafd:0a8993;FEAT:EDFC318C;POC:3;RCY:0;EMMC:0;READ:0;CHK:0;
TE: 178238
***** Warning!! *****************************************************
* This board have not been autorized or product keys are not valid. *
* Please contact with Hardkernel or your distributor                *
*********************************************************************

 

Posted

Do not use u-boot-2015 from HK, it is protected and it will not work on other hardware. Have you tried to write to eMMC bootloader from SD card (u-boot.bin.sd.bin)?

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