Jump to content

Spider

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by Spider

  1. Is it normal? Why  Couldn't get bank PG regulator

    U-Boot SPL 2019.10-armbian (Feb 17 2020 - 08:31:10 +0100)
    DRAM: 1024 MiB
    Trying to boot from MMC1
    NOTICE:  BL31: v2.2(debug):572fcdd-dirty
    NOTICE:  BL31: Built : 08:31:00, Feb 17 2020
    NOTICE:  BL31: Detected Allwinner H6 SoC (1728)
    NOTICE:  BL31: Found U-Boot DTB at 0xc07ef00, model: OrangePi Lite 2
    INFO:    ARM GICv2 driver initialized
    INFO:    PMIC: Probing AXP805 on I2C
    INFO:    PMIC: aldo1 voltage: 3.300V
    INFO:    PMIC: aldo3 voltage: 3.300V
    INFO:    PMIC: bldo1 voltage: 1.800V
    INFO:    PMIC: bldo2 voltage: 1.800V
    INFO:    PMIC: bldo3 voltage: 1.800V
    INFO:    PMIC: cldo1 voltage: 3.300V
    INFO:    PMIC: dcdcd voltage: 0.960V
    INFO:    PMIC: dcdce voltage: 1.200V
    INFO:    BL31: Platform setup done
    INFO:    BL31: Initializing runtime services
    INFO:    BL31: cortex_a53: CPU workaround for 855873 was applied
    INFO:    BL31: Preparing for EL3 exit to normal world
    INFO:    Entry point address = 0x4a000000
    INFO:    SPSR = 0x3c9
    
    
    U-Boot 2019.10-armbian (Feb 17 2020 - 08:31:10 +0100) Allwinner Technology
    
    CPU:   Allwinner H6 (SUN50I)
    Model: OrangePi Lite 2
    DRAM:  1 GiB
    MMC:   mmc@4020000: 0
    Loading Environment from EXT4... ** File not found /boot/boot.env **
    
    ** Unable to read "/boot/boot.env" from mmc0:1 **
    In:    serial@5000000
    Out:   serial@5000000
    Err:   serial@5000000
    Net:   No ethernet found.
    Hit any key to stop autoboot:  0
    switch to partitions #0, OK
    mmc0 is current device
    Scanning mmc 0:1...
    Found U-Boot script /boot/boot.scr
    3033 bytes read in 6 ms (493.2 KiB/s)
    ## Executing script at 4fc00000
    U-boot loaded from SD
    Boot script loaded from mmc
    291 bytes read in 5 ms (56.6 KiB/s)
    32785 bytes read in 14 ms (2.2 MiB/s)
    4161 bytes read in 15 ms (270.5 KiB/s)
    Applying kernel provided DT fixup script (sun50i-h6-fixup.scr)
    ## Executing script at 44000000
    7655747 bytes read in 775 ms (9.4 MiB/s)
    15687688 bytes read in 1579 ms (9.5 MiB/s)
    ## Loading init Ramdisk from Legacy Image at 4fe00000 ...
       Image Name:   uInitrd
       Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)
       Data Size:    7655683 Bytes = 7.3 MiB
       Load Address: 00000000
       Entry Point:  00000000
       Verifying Checksum ... OK
    ## Flattened Device Tree blob at 4fa00000
       Booting using the fdt blob at 0x4fa00000
       Loading Ramdisk to 498b2000, end 49fff103 ... OK
       Loading Device Tree to 0000000049841000, end 00000000498b1fff ... OK
    
    Starting kernel ...
    
    [    2.297662] sun50i-h6-pinctrl 300b000.pinctrl: Couldn't get bank PG regulator
    [    2.304821] sun50i-h6-pinctrl 300b000.pinctrl: request() failed for pin 198
    [    2.311791] sun50i-h6-pinctrl 300b000.pinctrl: pin-198 (5000400.serial) status -517
    [    2.319453] sun50i-h6-pinctrl 300b000.pinctrl: could not request pin 198 (PG6) from group PG6  on device 300b000.pinctrl
    [    2.330321] dw-apb-uart 5000400.serial: Error applying setting, reverse things back
    [    2.541572] sun50i-h6-pinctrl 300b000.pinctrl: Couldn't get bank PG regulator
    [    2.548826] sun50i-h6-pinctrl 300b000.pinctrl: request() failed for pin 192
    [    2.555873] sun50i-h6-pinctrl 300b000.pinctrl: pin-192 (4021000.mmc) status -517
    [    2.563357] sun50i-h6-pinctrl 300b000.pinctrl: could not request pin 192 (PG0) from group PG0  on device 300b000.pinctrl
    [    2.574353] sunxi-mmc 4021000.mmc: Error applying setting, reverse things back
    [    2.582052] sun50i-h6-pinctrl 300b000.pinctrl: Couldn't get bank PC regulator
    [    2.589282] sun50i-h6-pinctrl 300b000.pinctrl: request() failed for pin 70
    [    2.596240] sun50i-h6-pinctrl 300b000.pinctrl: pin-70 (300b000.pinctrl:70) status -517
    [    2.604594] sun50i-h6-pinctrl 300b000.pinctrl: Couldn't get bank PG regulator
    [    2.611819] sun50i-h6-pinctrl 300b000.pinctrl: request() failed for pin 198
    [    2.618865] sun50i-h6-pinctrl 300b000.pinctrl: pin-198 (5000400.serial) status -517
    [    2.626612] sun50i-h6-pinctrl 300b000.pinctrl: could not request pin 198 (PG6) from group PG6  on device 300b000.pinctrl
    [    2.637601] dw-apb-uart 5000400.serial: Error applying setting, reverse things back
    [    2.647257] sun50i-h6-pinctrl 300b000.pinctrl: Couldn't get bank PG regulator
    [    2.654501] sun50i-h6-pinctrl 300b000.pinctrl: request() failed for pin 192
    [    2.661550] sun50i-h6-pinctrl 300b000.pinctrl: pin-192 (4021000.mmc) status -517
    [    2.669035] sun50i-h6-pinctrl 300b000.pinctrl: could not request pin 192 (PG0) from group PG0  on device 300b000.pinctrl
    [    2.680023] sunxi-mmc 4021000.mmc: Error applying setting, reverse things back
    [    2.687515] sun50i-h6-pinctrl 300b000.pinctrl: Couldn't get bank PC regulator
    [    2.694750] sun50i-h6-pinctrl 300b000.pinctrl: request() failed for pin 70
    [    2.701718] sun50i-h6-pinctrl 300b000.pinctrl: pin-70 (300b000.pinctrl:70) status -517
    [    2.710085] sun50i-h6-pinctrl 300b000.pinctrl: Couldn't get bank PG regulator
    [    2.717319] sun50i-h6-pinctrl 300b000.pinctrl: request() failed for pin 198
    [    2.724368] sun50i-h6-pinctrl 300b000.pinctrl: pin-198 (5000400.serial) status -517
    [    2.732120] sun50i-h6-pinctrl 300b000.pinctrl: could not request pin 198 (PG6) from group PG6  on device 300b000.pinctrl
    [    2.743111] dw-apb-uart 5000400.serial: Error applying setting, reverse things back
    [    2.752766] sun50i-h6-pinctrl 300b000.pinctrl: Couldn't get bank PG regulator
    [    2.760001] sun50i-h6-pinctrl 300b000.pinctrl: request() failed for pin 192
    [    2.767060] sun50i-h6-pinctrl 300b000.pinctrl: pin-192 (4021000.mmc) status -517
    [    2.774548] sun50i-h6-pinctrl 300b000.pinctrl: could not request pin 192 (PG0) from group PG0  on device 300b000.pinctrl
    [    2.785544] sunxi-mmc 4021000.mmc: Error applying setting, reverse things back
    [    3.075680] sun50i-h6-pinctrl 300b000.pinctrl: Couldn't get bank PC regulator
    [    3.083006] sun50i-h6-pinctrl 300b000.pinctrl: request() failed for pin 70
    [    3.090009] sun50i-h6-pinctrl 300b000.pinctrl: pin-70 (300b000.pinctrl:70) status -517
    [    3.098672] sun50i-h6-pinctrl 300b000.pinctrl: Couldn't get bank PG regulator
    [    3.105942] sun50i-h6-pinctrl 300b000.pinctrl: request() failed for pin 198
    [    3.113041] sun50i-h6-pinctrl 300b000.pinctrl: pin-198 (5000400.serial) status -517
    [    3.120854] sun50i-h6-pinctrl 300b000.pinctrl: could not request pin 198 (PG6) from group PG6  on device 300b000.pinctrl
    [    3.131907] dw-apb-uart 5000400.serial: Error applying setting, reverse things back
    [    3.142360] sun50i-h6-pinctrl 300b000.pinctrl: Couldn't get bank PG regulator
    [    3.149644] sun50i-h6-pinctrl 300b000.pinctrl: request() failed for pin 192
    [    3.156704] sun50i-h6-pinctrl 300b000.pinctrl: pin-192 (4021000.mmc) status -517
    [    3.164198] sun50i-h6-pinctrl 300b000.pinctrl: could not request pin 192 (PG0) from group PG0  on device 300b000.pinctrl
    [    3.175201] sunxi-mmc 4021000.mmc: Error applying setting, reverse things back
    [    3.184840] sun50i-h6-pinctrl 300b000.pinctrl: Couldn't get bank PC regulator
    [    3.192143] sun50i-h6-pinctrl 300b000.pinctrl: request() failed for pin 70
    [    3.199107] sun50i-h6-pinctrl 300b000.pinctrl: pin-70 (300b000.pinctrl:70) status -517
    [    3.199593] sun50i-h6-pinctrl 300b000.pinctrl: Couldn't get bank PG regulator
    [    3.214352] sun50i-h6-pinctrl 300b000.pinctrl: request() failed for pin 198
    [    3.214358] sun50i-h6-pinctrl 300b000.pinctrl: pin-198 (5000400.serial) status -517
    [    3.229144] sun50i-h6-pinctrl 300b000.pinctrl: could not request pin 198 (PG6) from group PG6  on device 300b000.pinctrl
    [    3.229150] dw-apb-uart 5000400.serial: Error applying setting, reverse things back
    [    3.250438] sun50i-h6-pinctrl 300b000.pinctrl: Couldn't get bank PG regulator
    [    3.257692] sun50i-h6-pinctrl 300b000.pinctrl: request() failed for pin 192
    [    3.257699] sun50i-h6-pinctrl 300b000.pinctrl: pin-192 (4021000.mmc) status -517
    [    3.257706] sun50i-h6-pinctrl 300b000.pinctrl: could not request pin 192 (PG0) from group PG0  on device 300b000.pinctrl
    [    3.272233] sunxi-mmc 4021000.mmc: Error applying setting, reverse things back
    
    Armbian 20.02.1 Buster ttyS0
    
    orangepilite2 login:
  2. :)

    Thx, for reply. But I finaly launch BT device.

    Next steps:

    1. Disable uart1 overlay

    2. copyed firmware for ap6212 from last broadcom package into /lib/firmware/bcm....

    3. modified ap6212-bluetooth

          - at start add:

            devmem2 0x1f00060 b 1
            echo 10 > /sys/class/gpio/export
            echo out > /sys/class/gpio/gpio10/direction
            echo 0 > /sys/class/gpio/gpio10/value
            echo 1 > /sys/class/gpio/gpio10/value
            sleep 0.1
    
    

          - at end add: (else after soft reboot wifi will not work)

            devmem2 0x1f00060 b 0
            echo 10 > /sys/class/gpio/export
            echo out > /sys/class/gpio/gpio10/direction
            echo 0 > /sys/class/gpio/gpio10/value
    
            sleep 0.1
    
            echo 10 > /sys/class/gpio/unexport
            sleep 0.1
    
    

  3. Hello!

     

    I'm tryiing to make iBeacon scan service. But can't make Bluetooth work on OPi0+2H5.

    I'm using "Armbian_20.02.1_Orangepizeroplus2-h5_bionic_current_5.4.20_minimal.img" as OS, but no hci devices in system after start. I reded many topics from this forum and nothig helps me. Can't start BT :(

    Is BlueTooth part work on this board? Can I use it?

    I need only "lescan" functional....

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines