Jump to content

going

Members
  • Posts

    806
  • Joined

  • Last visited

Posts posted by going

  1. 13 часов назад, GeEg сказал:
    Цитата

    > sunxi-gmac 5030000.ethernet end0: No PHY found!

    The first question. What brand of chip is used in your case?


    It is Allwinner H618, Quad-core ARM Cortex™-A53 processor.

    I meant which Eth chip is used in your case

    Bananapi-m4-berry:
    h618 ==> Eth chip rtl8211f ==> connecting socket
    
    Bananapi-m4-zero:
    h618 ==> Eth chip ????  ==> connecting socket

    As far as I understand, this is some kind of expansion card for the 26 pin connector.
    Can you post a diagram of this expansion board here.
    The brand of the Ethernet chip matters.

  2. 3 часа назад, GeEg сказал:

    I’ve collected a full hardware/software report via armbianmonitor—see the logs here: https://paste.armbian.com/rolisaboru
     

    What I’m looking for

    A known-good snippet of device-tree (base DTS or overlay) that brings up the internal EMAC1 PHY on sun50i-h618

    Advice on any missing power-or-clock settings or MFD nodes required for the AC300 PHY

     

    > sunxi-gmac 5030000.ethernet end0: No PHY found!

    The first question. What brand of chip is used in your case?

     

    The second question. Is this an external device?

    [  341.101053] usb 2-1: new high-speed USB device number 2 using ehci-platform
    [  341.257994] usb 2-1: New USB device found, idVendor=0b95, idProduct=772b, bcdDevice= 0.01
    [  341.258024] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [  341.258033] usb 2-1: Product: AX88772B
    [  341.258039] usb 2-1: Manufacturer: ASIX Elec. Corp.
    [  341.258045] usb 2-1: SerialNumber: E5A1DD
    [  341.902647] asix 2-1:1.0 (unnamed net_device) (uninitialized): PHY [usb-002:002:10] driver [Asix Electronics AX88772C] (irq=POLL)
    [  341.905987] Asix Electronics AX88772C usb-002:002:10: attached PHY driver (mii_bus:phy_addr=usb-002:002:10, irq=POLL)

     

    In order for the ethernet-phy to work, it is necessary to turn on the PWM on the internal pin of the processor.

    As example see: arch/arm64/boot/dts/allwinner/sun50i-h618-orangepi-zero2w.dts

    and arch/arm64/boot/dts/allwinner/sun50i-h618-orangepi-zero2w.dts#L521-L539

  3. 24 минуты назад, gyrex сказал:

     

    1 час назад, going сказал:

    you can try disabling this file system verification service by connecting the SD card to a virtual machine and fixing the appropriate scripts.

     

    It appears that the fsck file check reports a clean system then continues to boot?

    From the above log of the UART console, I see that uboot found the SD card partition and loaded the kernel from it.

    The kernel saw the root partition of the SD card, but after checking fsck.ext4 -a -C0 /dev/mmcblk0p1, for some reason, it cannot mount it.

     

    When you have written the image to the SD card, try to mount it in your running OS and fix it in the file /boot/armbianEnv.txt verbosity=7.
    After that, boot up and watch the UART.
    This may provide additional clues.

  4. 1 час назад, gyrex сказал:
    Begin: Will now check root file system ... fsck from util-linux 2.36.1
    [/sbin/fsck.ext4 (1) -- /dev/mmcblk0p1] fsck.ext4 -a -C0 /dev/mmcblk0p1
    armbi_root: clean, 60912/1812480 files, 1248402/7711744 blocks
    done.
    mount: No such device
    Failed to mount /dev/mmcblk0p1 as root file system.

    Alternatively, you can try disabling this file system verification service by connecting the SD card to a virtual machine and fixing the appropriate scripts.

  5. 3 часа назад, gyrex сказал:

    I updated my Orange Pi Lite some time ago and it caused it to stop booting. The boot log is below. Can someone please help me recover this? I'm not sure where to start. I've loaded the SD card into an Ubuntu VM and it reads perfectly fine.

    What have you been updating?
    Only system files?

  6. 1 час назад, -jk- сказал:

    Is there any news for HDMI audio on this board? 

    Audio output via HDMI should work on all H616-H618 devices.
    This was tested on the bananapi-m4-berry board for current and edge kernels.

    In the pulseaudio settings applet, you need to make several switches back and forth (turn on/off) for the sound to appear.

    Tested on gnome, ubuntu.

  7. 3 часа назад, Johnny on the couch сказал:

    panic3:

    All the kernel panic options that you have shown here occur on v6.12.23.

    It all happens randomly.

    I suspect that this may be due to the presence of broken (faulty) blocks on the memory device.
    It's easy to check this.If you connect the SD card via an adapter to a Linux computer:

    sudo fsck.ext4 /dev/sdX1

     

  8. 2 часа назад, Johnny on the couch сказал:

    've collected few more kernel crashes on the same image (latest Ubuntu Noble freshly installed on SD card):

    When you have started the device on a new operating system image, does the kernel panic appear?

     

    After what action does the core panic?

  9. 1 час назад, timmymg сказал:

    220v power failure (sparking between wires suspended on poles), there were some disruptions in the 5v power supply. This damaged the max7219 modules and possible spi port on orange pi.

    Sparking between the wires on the poles produces high-frequency pulses of high power and transmits them through the wires to consumers of electricity.
    Household consumers such as a TV, vacuum cleaner, refrigerator do not have a built-in high-frequency protection filter and very often fail.

    As for the orange, it is not protected at all.
    My orange was just lying on the table and was connected by an Ethernet cable to the router. Both were not power up.

    Lightning struck a nearby building.
    The Ethernet cable caught an electromagnetic pulse.
    The orange burned down completely and the router has only 1 port damaged.
    You can draw your own conclusions.

  10. 14 часов назад, ovacikar сказал:

    Linux orangepizero2 6.12.20-current-sunxi64 #1 SMP Sat Mar 22 19:54:28 UTC 2025 aarch64 GNU/Linux

    linux-headers-current-sunxi64/bookworm,now 25.2.3 arm64 [installed]

    The kernel headers that you have installed are quite enough to build the kernel module, the source codes of which you have.

     

    If the source codes are already in the kernel, then you just need to configure the kernel before compiling.
    launch:

    2 часа назад, ovacikar сказал:

    ./compile.sh BOARD=orangepizero2 BRANCH=current kernel-config

    After you finish the configuration, the build system saves your configuration file (it will tell you where it did it).
    Save it under the name ./config/kernel/linux-sunxi64-current.config

    It is assumed that you are in the armbian/build directory.

    launch:

    ./compile.sh BOARD=orangepizero2 BRANCH=current kernel

  11. 1 час назад, jgauthier сказал:

    I am building a test application that must perform real time operations.

    1) Play (decode) video audio

    2) Read the status of multiple sensors at regular intervals

    3) Generate pulses on GPIO

    4) Transmit the packet at the right time over Ethernet, UART ...

    5) .......?

     

    2 часа назад, jgauthier сказал:

    i have linux-sunxi64-edge.config in my userpatches/ folder.

     

    diff -u config/kernel/linux-sunxi64-edge.config userpatches/linux-sunxi64-edge.config

     

  12. 23 часа назад, jgauthier сказал:
    # uname -a
    Linux bananapim4zero 6.13.11-edge-sunxi64 #5 SMP PREEMPT_RT

    What is the purpose of using this core?

    Several people have already tried to build a real-time kernel here on the forum.
    They all face some challenges.
    Perhaps, if the tasks that such a core should perform are of a general nature, we can provide a configuration for its assembly.


    You built it yourself.
    Can you provide a difference in the configuration file for the same kernel version?

    As diff -u command.

  13. 18 часов назад, robertoj сказал:

    Notice that in 6.12, the properties pinctrl-names and pinctrl-0 do not exist, but I used the same ili9488-ads7846.dts in both if them...

    Does anybody know what may be happening? Or what's needed to add what is missing?

    This means that the missing pins should be written something like this:

    	fragment@0 {
    		target = <&spi1>;
    		__overlay__ {
    			status = "okay";
    			#address-cells = <1>;
    			#size-cells = <0>;
    
    			pinctrl-names = "default";
    			pinctrl-0 = <&spi1_pins>, <&spi1_cs0_pin>, <&spi1_cs1_pin>;

     

  14. 9 часов назад, robertoj сказал:

    Try adding this line compatible = "armbian,spi-dev";

    /dts-v1/;
    /plugin/;
    / {
    	compatible = "allwinner,sun50i-h616";
    	fragment@0 {
    		target = <&spi1>;
    		__overlay__ {
    			status = "okay";
    			compatible = "armbian,spi-dev";
    			cs-gpios = <&pio 7 9 0>,<&pio 2 15 0>; // PH9=CS0 for lcd, PC15=CS1 for touch
    
    			panel: panel@0 {
    				compatible = "panel-mipi-dbi-spi";
    				reg = <0>;
     ................

     

    P.S. I doubt that I am giving you the right advice.

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines