Power & Source of Big Ideas

NEO4 stuck in boot cycle

Moderators: chensy, FATechsupport

Hello guys,

I have two NEO 4 boards with heatsinks. Unfortunately both of them are stuck in boot cycle. When I connect power, they briefly show FriendlyElec logo on screen and then again and again. I am using sd card with rk3399-sd-friendlycore-bionic-4.4-arm64-20191227.img image. Via console on usb to serial there is no output.

here is the video: https://photos.app.goo.gl/w1HamDjzCEdEen9b8

do you think they are burned or can I do some deeper debugging?

thanks in advance
Best way is to connect to the debug port and look at the boot output. This will tell you what is going wrong.
Thanks that is exactly what I did. Without HDMI cable connected I am getting gibberish output on serial as shown on attached image. My serial settings are (same settings work fine with for example nanopi core2):

speed: 115200
Data bits: 8
Stop bits: 1
Parity: None
XON/XOFF

Funnily board seems to be coming up, I have also green led blinking of reading from sd card. Do you know any other settings?

Attachments

Gibberish usually indicates a missing ground connection.
UPDATE!!!

ok now I am completely baffled. After finishing the boot on serial with gibberish, I have connected HDMI cable and I get the image. Just for information I have serial 2 USB cable from Adafruit with CP2102. I am going to test second board.

Attachments

v8dave wrote:
Gibberish usually indicates a missing ground connection.


it happens with or without ground
It all sounds like a ground issue. I assume you are using a 3.3V TTL serial interface to connect to the debug port?
yes it is 3.3V USB to TTL cable from Adafruit. Specs are here:

https://www.adafruit.com/product/954
When you connect to the board, do you just connect GND, RX and TX?

You don't need the 5V connection as your board is powered elsewhere. Better to leave this disconnected to avoid shorting power supplies.
Hi v8dave,

sorry for not replying I've been busy on other project. Today I had a chance to retest everything. As for your question, yes I did not connect 5V it was only RX,TX and GND. Conclusion is:

not compatible USB-C power supply

I have connected to USB-C psu of my laptop and it was same stuff (rebooting), then I disconnected USB-C power and connected only on USB to TTL cable. Suddenly whole thing boots. Then I've got another USB-C psu brick from my phone and voila it worked like a charm. I've tested all important functions like wifi, video playback and so on, all seems to be working.

NOTE: however serial debug output stays garbled (something must of been damaged) but board as such works and boots ok.

For convenience I have attached dmesg output, if you would see something suspicious there.

In any case thanks for patience and help. Have a nice day.

Attachments

Everything looks good in the output.

I see you are running Android on this.

If you have a PC running Ubuntu, it is quite easy to build your own custom OS and get rid of the stuff you don't need. All depends on what you are wanting to use it for.
Hello!

I am trying to run android on my NANO pi NEO4, but a situation very similar to the one described here above occurs.

When I insert a flash drive with rk3399-eflasher-android8-20210617.img.zip
which I downloaded according to the instructions from the Wiki,
the FriendlyElec logo stays on on the display and nothing else happens.

At the same time, with the same actions with the NANO Pi M4 board, the android works great.

I have also tried to rearrange the eMMC module with the loaded android from Pi M4 to NEO4. It doesn't work either.

I connected both boards from a powerful 3A, 30W adapter.

What else could be the case?
Maybe I'm taking the wrong look?

I download it from the disk that is listed in the Wiki:


https://drive.google.com/drive/folders/ ... yrdyqKtJfC

I tried other images in the same way, but did not help.
What does the debug output show?
How to connect it? Need something like a PuTTy terminal?
You need a TTL to USB serial adapter and PUTTY as the debug is a fast output of 1,500,000 bps.
Image

Putty gives out abra-kadabra.

I connected to NEO4 and Putty via serial option and USB-TTL adapter. However, I cannot enter the commands.
What baud rate did you use? It should be 1,500,000 which PUTTY can do. Some USB - Serial cannot support that speed but I have found that the CH340 does. The FA one uses this.
At a speed of 1500000, it outputs the following (text below)


However, I still cannot send commands. Is it because I have one of the cheapest USB-TTL?

Code: Select all

DDR Version 1.15 20181010
In
Channel 0: DDR3, 933MHz
Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
no stride
ch 0 ddrconfig = 0x101, ddrsize = 0x20
pmugrf_os_reg[2] = 0x10006281, stride = 0x17
OUT
Boot1: 2018-08-06, version: 1.15
CPUId = 0x0
ChipType = 0x10, 212
SdmmcInit=2 0
BootCapSize=100000
UserCapSize=14910MB
FwPartOffset=2000 , 100000
mmc0:cmd5,20
SdmmcInit=0 0
BootCapSize=0
UserCapSize=122112MB
FwPartOffset=2000 , 0
run on sd0
StorageInit ok = 304917
SecureMode = 0
SecureInit read PBA: 0x4
SecureInit read PBA: 0x404
SecureInit read PBA: 0x804
SecureInit read PBA: 0xc04
SecureInit read PBA: 0x1004
SecureInit read PBA: 0x1404
SecureInit read PBA: 0x1804
SecureInit read PBA: 0x1c04
SecureInit ret = 0, SecureMode = 0
GPT 0x3190d20 signature is wrong
LoadTrust Addr:0x4000
No find bl30.bin
Load uboot, ReadLba = 2000
Load OK, addr=0x200000, size=0x8705c
RunBL31 0x40000
NOTICE:  BL31: v1.3(debug):734d84297
NOTICE:  BL31: Built : 15:30:40, Dec 12 2019
NOTICE:  BL31: Rockchip release version: v1.1
INFO:    GICv3 with legacy support detected. ARM GICV3 driver initialized in EL3
INFO:    Using opteed sec cpu_context!
INFO:    boot cpu mask: 0
INFO:    plat_rockchip_pmu_init(1190): pd status 3e
INFO:    BL31: Initializing runtime services
INFO:    BL31: Initializing BL32
INF [0x0] TEE-CORE:init_primary_helper:337: Initializing (1.1.0-195-g8f090d20 #6 Fri Dec  7 06:11:20 UTC 2018 aarch64)

INF [0x0] TEE-CORE:init_primary_helper:338: Release version: 1.2

INF [0x0] TEE-CORE:init_teecore:83: teecore inits done
INFO:    BL31: Preparing for EL3 exit to normal world
INFO:    Entry point address = 0x200000
INFO:    SPSR = 0x3c9


U-Boot 2014.10-RK3399-06 (Jun 03 2021 - 20:58:00)

CPU: rk3399
cpu version = 0
CPU's clock information:
    aplll = 816000000HZ
    apllb = 24000000HZ
    gpll = 800000000HZ
               aclk_periph_h = 133333333HZ, hclk_periph_h = 66666666HZ, pclk_periph_h = 33333333HZ
               aclk_periph_l0 = 266666666HZ, hclk_periph_l0 = 88888888HZ, pclk_periph_l0 = 44444444HZ
               hclk_periph_l1 = 100000000HZ, pclk_periph_l1 = 50000000HZ
    cpll = 800000000HZ
    dpll = 928000000HZ
    vpll = 24000000HZ
    npll = 24000000HZ
    ppll = 676000000HZ
Board:  Rockchip platform Board
Uboot as second level loader
DRAM:  Found dram banks: 1
Adding bank:0000000000200000(000000003fe00000)
Reserve memory for trust os.
dram reserve bank: base = 0x08400000, size = 0x01e00000
128 MiB
SdmmcInit = 0 0
SDCard Boot.
storage init OK!
Using default environment

GetParam
Load FDT from resource image.
no key node
can't find dts node for fixed
usb bc: can find node by path: /dwc-control-usb/usb_bc
pmic:rk808
can't find dts node for pwm1
set pwm voltage ok,pwm_id =2 vol=900000,pwm_value=16
Can't find dts node for fuel guage cw201x
can't find dts node for ec-battery
Can't find dts node for charger bq25700
invalide header tag
ca head not found
SecureBootEn = 0, SecureBootLock = 0

#Boot ver: 2020-03-16#1.19
empty serial no.
normal boot.
checkKey
vbus = 1
no fuel gauge found
no fuel gauge found
Rockchip UBOOT DRM driver version: develop-v1.0.0
failed to find panel driver
delay prepare[20] unprepare[0] enable[20] disable[0]
read logo on state from dts [1]
no fuel gauge found
Monitor has basic audio support
drm_rk_selete_output; fail get baseparameter
rk lcdc - 0 dclk set: dclk = 185580000HZ, pll select = 0, div = 1
Warn: vop clk request 185580000hz, but real clock is 185579999hz
rockchip_panel_prepare: failed to find panel prepare funcs
Non-CEA mode (2560x1080) used in HDMI
dw_hdmi_setup HDMI mode
rockchip_panel_enable: failed to find panel prepare funcs
failed to find display timing
Hit any key to stop autoboot:  0
load fdt from resouce.
error init vendor storage.
vendor read error!
Set oem_unlocked=0Secure Boot state: 0
kernel   @ 0x00280000 (0x01198a00)
ramdisk  @ 0x04bf0000 (0x0044db88)
bootrk: do_bootm_linux...
   Loading Device Tree to 0000000004600000, end 000000000461c9c8 ... OK
Add bank:0000000000200000, 0000000008200000
Add bank:000000000a200000, 0000000035e00000
WARNING: could not set reg FDT_ERR_BADOFFSET.

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.4.179 (root@jensen) (gcc version 6.4.0 (ctng-1.23.0-150g-FA) ) #2 SMP Fri Jun 4 16:59:05 CST 2021
[    0.000000] Boot CPU: AArch64 Processor [410fd034]
[    0.000000] earlycon: Early serial console at MMIO32 0xff1a0000 (options '')
[    0.000000] bootconsole [uart0] enabled
[    0.000000] Panel: using mode 2560x1080 for HDMI2560x1080
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: Trusted OS migration not required
[    0.000000] PERCPU: Embedded 21 pages/cpu @ffffffc03fee9000 s46376 r8192 d31448 u86016
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: enabling workaround for ARM erratum 845719
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 249864
[    0.000000] Kernel command line: earlycon=uart8250,mmio32,0xff1a0000 swiotlb=1 console=ttyFIQ0 rootwait coherent_pool=1m root=/dev/mmcblk0p2 rw rootfstype=ext4 lcd=HDMI2560x1080 storagemedia=sd uboot_logo=0x02000000@0x3dc00000 loader.timestamp=2021-06-03_20:58:00 SecureBootCheckOk=0
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.000000] software IO TLB: mapped [mem 0x3fe21000-0x3fe61000] (0MB)
[    0.000000] Memory: 969704K/1015808K available (11388K kernel code, 1378K rwdata, 4124K rodata, 1088K init, 1923K bss, 46104K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     modules : 0xffffff8000000000 - 0xffffff8008000000   (   128 MB)
[    0.000000]     vmalloc : 0xffffff8008000000 - 0xffffffbdbfff0000   (   246 GB)
[    0.000000]       .init : 0xffffff8008fb0000 - 0xffffff80090c0000   (  1088 KB)
[    0.000000]       .text : 0xffffff8008080000 - 0xffffff8008ba0000   ( 11392 KB)
[    0.000000]     .rodata : 0xffffff8008ba0000 - 0xffffff8008fb0000   (  4160 KB)
[    0.000000]       .data : 0xffffff80090c0000 - 0xffffff8009218a00   (  1379 KB)
[    0.000000]     vmemmap : 0xffffffbdc0000000 - 0xffffffbfc0000000   (     8 GB maximum)
[    0.000000]               0xffffffbdc0008000 - 0xffffffbdc1000000   (    15 MB actual)
[    0.000000]     fixed   : 0xffffffbffe7fb000 - 0xffffffbffec00000   (  4116 KB)
[    0.000000]     PCI I/O : 0xffffffbffee00000 - 0xffffffbfffe00000   (    16 MB)
[    0.000000]     memory  : 0xffffffc000200000 - 0xffffffc040000000   (  1022 MB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=6, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 64.
[    0.000000]  RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=6.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=6
[    0.000000] NR_IRQS:64 nr_irqs:64 0
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] ITS: /interrupt-controller@fee00000/interrupt-controller@fee20000
[    0.000000] ITS: allocated 65536 Devices @3e880000 (psz 64K, shr 0)
[    0.000000] ITS: using cache flushing for cmd queue
[    0.000000] GIC: using LPI property table @0x000000003e900000
[    0.000000] ITS: Allocated 1792 chunks for LPIs
[    0.000000] CPU0: found redistributor 0 region 0:0x00000000fef00000
[    0.000000] CPU0: using LPI pending table @0x000000003e910000
[    0.000000] GIC: using cache flushing for LPI property table
[    0.000000] GIC: PPI partition interrupt-partition-0[0] { /cpus/cpu@0[0] /cpus/cpu@1[1] /cpus/cpu@2[2] /cpus/cpu@3[3] }
[    0.000000] GIC: PPI partition interrupt-partition-1[1] { /cpus/cpu@100[4] /cpus/cpu@101[5] }
[    0.000000] rockchip_clk_register_frac_branch: could not find dclk_vop0_frac as parent of dclk_vop0, rate changes may not work
[    0.000000] rockchip_clk_register_frac_branch: could not find dclk_vop1_frac as parent of dclk_vop1, rate changes may not work
[    0.000000] rockchip_cpuclk_pre_rate_change: limiting alt-divider 33 to 31
[    0.000000] Architected cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000005] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.002252] Console: colour dummy device 80x25
[    0.002700] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=24000)
[    0.003700] pid_max: default: 32768 minimum: 301
[    0.004256] Security Framework initialized
[    0.004669] AppArmor: AppArmor disabled by boot time parameter
[    0.005273] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
[    0.005928] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes)
[    0.007289] Initializing cgroup subsys io
[    0.007688] Initializing cgroup subsys memory
[    0.008143] Initializing cgroup subsys devices
[    0.008579] Initializing cgroup subsys freezer
[    0.009014] Initializing cgroup subsys net_cls
[    0.009458] Initializing cgroup subsys perf_event
[    0.009918] Initializing cgroup subsys net_prio
[    0.010364] Initializing cgroup subsys hugetlb
[    0.010806] Initializing cgroup subsys pids
[    0.011245] ftrace: allocating 37697 entries in 148 pages
[    0.116273] sched-energy: Sched-energy-costs installed from DT
[    0.116846] CPU0: update cpu_capacity 401
[    0.117298] ASID allocator initialised with 32768 entries
[    0.120732] PCI/MSI: /interrupt-controller@fee00000/interrupt-controller@fee20000 domain created
[    0.122165] Platform MSI: /interrupt-controller@fee00000/interrupt-controller@fee20000 domain created
[    0.123500] EFI services will not be available.
[    0.124905] Detected VIPT I-cache on CPU1
[    0.124936] CPU1: found redistributor 1 region 0:0x00000000fef20000
[    0.124971] CPU1: using LPI pending table @0x000000003eb00000
[    0.125014] CPU1: update cpu_capacity 401
[    0.125017] CPU1: Booted secondary processor [410fd034]
[    0.125584] Detected VIPT I-cache on CPU2
[    0.125603] CPU2: found redistributor 2 region 0:0x00000000fef40000
[    0.125636] CPU2: using LPI pending table @0x000000003eb30000
[    0.125662] CPU2: update cpu_capacity 401
[    0.125665] CPU2: Booted secondary processor [410fd034]
[    0.126202] Detected VIPT I-cache on CPU3
[    0.126221] CPU3: found redistributor 3 region 0:0x00000000fef60000
[    0.126254] CPU3: using LPI pending table @0x000000003eb80000
[    0.126279] CPU3: update cpu_capacity 401
[    0.126282] CPU3: Booted secondary processor [410fd034]
[    0.126819] Detected PIPT I-cache on CPU4
[    0.126847] CPU4: found redistributor 100 region 0:0x00000000fef80000
[    0.126887] CPU4: using LPI pending table @0x000000003ebc0000
[    0.126926] CPU4: update cpu_capacity 1024
[    0.126929] CPU4: Booted secondary processor [410fd082]
[    0.127500] Detected PIPT I-cache on CPU5
[    0.127517] CPU5: found redistributor 101 region 0:0x00000000fefa0000
[    0.127554] CPU5: using LPI pending table @0x000000003ebf0000
[    0.127579] CPU5: update cpu_capacity 1024
[    0.127582] CPU5: Booted secondary processor [410fd082]
[    0.127668] Brought up 6 CPUs
[    0.140158] SMP: Total of 6 processors activated.
[    0.140613] CPU features: detected feature: GIC system register CPU interface
[    0.141309] CPU features: detected feature: 32-bit EL0 Support
[    0.141873] CPU: All CPU(s) started at EL2
[    0.142319] alternatives: patching kernel code
[    0.144111] devtmpfs: initialized
[    0.161446] DMI not present or invalid.
[    0.162107] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[    0.163025] futex hash table entries: 2048 (order: 5, 131072 bytes)
[    0.164134] pinctrl core: initialized pinctrl subsystem
[    0.165368] NET: Registered protocol family 16
[    0.170836] cpuidle: using governor ladder
[    0.174844] cpuidle: using governor menu
[    0.175222] Registered FIQ tty driver
[    0.175764] vdso: 2 pages (1 code @ ffffff8008ba6000, 1 data @ ffffff80090c4000)
[    0.176507] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.177682] DMA: preallocated 1024 KiB pool for atomic allocations
[    0.201000] console [pstore-1] enabled
[    0.201353] pstore: Registered ramoops as persistent store backend
[    0.201930] ramoops: attached 0xf0000@0x110000, ecc: 0/0
[    0.205170] console [ttyFIQ0] enabled
[    0.205170] console [ttyFIQ0] enabled
[    0.205839] bootconsole [uart0] disabled
[    0.205839] bootconsole [uart0] disabled
[    0.206736] Registered fiq debugger ttyFIQ0
[    0.220379] vcc_lcd: supplied by vcc5v0_sys
[    0.243527] iommu: Adding device ff650000.vpu_service to group 0
[    0.244146] iommu: Adding device ff660000.rkvdec to group 1
[    0.244743] iommu: Adding device ff8f0000.vop to group 2
[    0.245305] iommu: Adding device ff900000.vop to group 3
[    0.245859] iommu: Adding device ff910000.rkisp1 to group 4
[    0.246443] iommu: Adding device ff920000.rkisp1 to group 5
[    0.247426] rk_iommu ff650800.iommu: can't get sclk
[    0.248121] rk_iommu ff660480.iommu: can't get sclk
[    0.248750] rk_iommu ff8f3f00.iommu: can't get sclk
[    0.249342] rk_iommu ff903f00.iommu: can't get sclk
[    0.249935] rk_iommu ff914000.iommu: can't get sclk
[    0.250512] rk_iommu ff924000.iommu: can't get sclk
[    0.251248] SCSI subsystem initialized
[    0.251913] usbcore: registered new interface driver usbfs
[    0.252453] usbcore: registered new interface driver hub
[    0.253003] usbcore: registered new device driver usb
[    0.253518] media: Linux media interface: v0.10
[    0.253951] Linux video capture interface: v2.00
[    0.254395] pps_core: LinuxPPS API ver. 1 registered
[    0.254847] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.255663] PTP clock support registered
[    0.256125] dmi: Firmware registration failed.
[    0.257574] Advanced Linux Sound Architecture Driver Initialized.
[    0.258608] Bluetooth: Core ver 2.21
[    0.258948] NET: Registered protocol family 31
[    0.259357] Bluetooth: HCI device and connection manager initialized
[    0.259925] Bluetooth: HCI socket layer initialized
[    0.260369] Bluetooth: L2CAP socket layer initialized
[    0.260832] Bluetooth: SCO socket layer initialized
[    0.261603] NetLabel: Initializing
[    0.261911] NetLabel:  domain hash size = 128
[    0.262297] NetLabel:  protocols = UNLABELED CIPSOv4
[    0.262781] NetLabel:  unlabeled traffic allowed by default
[    0.263550] rockchip-cpuinfo cpuinfo: Serial         : f0442cd6b72193a6
[    0.264635] clocksource: Switched to clocksource arch_sys_counter
[    0.304681] thermal thermal_zone1: power_allocator: sustainable_power will be estimated
[    0.305605] NET: Registered protocol family 2
[    0.306442] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[    0.307144] TCP bind hash table entries: 8192 (order: 6, 262144 bytes)
[    0.307958] TCP: Hash tables configured (established 8192 bind 8192)
[    0.308600] UDP hash table entries: 512 (order: 3, 49152 bytes)
[    0.309176] UDP-Lite hash table entries: 512 (order: 3, 49152 bytes)
[    0.309955] NET: Registered protocol family 1
[    0.310693] RPC: Registered named UNIX socket transport module.
[    0.311221] RPC: Registered udp transport module.
[    0.311652] RPC: Registered tcp transport module.
[    0.312074] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.313315] Trying to unpack rootfs image as initramfs...
[    0.527807] Freeing initrd memory: 4404K
[    0.528582] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    0.529419] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
[    0.532936] audit: initializing netlink subsys (disabled)
[    0.533453] audit: type=2000 audit(0.451:1): initialized
[    0.534305] Initialise system trusted keyring
[    0.535074] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    0.542656] VFS: Disk quotas dquot_6.6.0
[    0.543155] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.545271] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.546807] NFS: Registering the id_resolver key type
[    0.547276] Key type id_resolver registered
[    0.547662] Key type id_legacy registered
[    0.548238] fuse init (API version 7.23)
[    0.554494] Key type asymmetric registered
[    0.554890] Asymmetric key parser 'x509' registered
[    0.555493] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    0.556313] io scheduler noop registered
[    0.556687] io scheduler deadline registered
[    0.557197] io scheduler cfq registered (default)
[    0.559133] phy phy-ff770000.syscon:usb2-phy@e460.1: Failed to get VBUS supply regulator
[    0.565794] rockchip-pcie f8000000.pcie: no vpcie3v3 regulator found
[    0.566363] rockchip-pcie f8000000.pcie: no vpcie1v8 regulator found
[    0.566942] rockchip-pcie f8000000.pcie: no vpcie0v9 regulator found
[    0.567505] rockchip-pcie f8000000.pcie: missing "memory-region" property
[    0.568118] PCI host bridge /pcie@f8000000 ranges:
[    0.568553]   MEM 0xfa000000..0xfbdfffff -> 0xfa000000
[    0.569024]    IO 0xfbe00000..0xfbefffff -> 0xfbe00000
[    1.069570] rockchip-pcie f8000000.pcie: PCIe link training gen1 timeout!
[    1.070196] rockchip-pcie f8000000.pcie: deferred probe failed
[    1.070923] rockchip-pcie: probe of f8000000.pcie failed with error -110
[    1.072566] backlight supply power not found, using dummy regulator
[    1.073861] rk-vcodec ff650000.vpu_service: no regulator for vcodec
[    1.074768] rk-vcodec ff650000.vpu_service: probe device
[    1.075457] rk-vcodec ff650000.vpu_service: drm allocator with mmu enabled
[    1.076614] rk-vcodec ff650000.vpu_service: could not find power_model node
[    1.077252] rk-vcodec ff650000.vpu_service: init success
[    1.077935] rk-vcodec ff660000.rkvdec: no regulator for vcodec
[    1.078849] rk-vcodec ff660000.rkvdec: probe device
[    1.079457] rk-vcodec ff660000.rkvdec: drm allocator with mmu enabled
[    1.080411] rk-vcodec ff660000.rkvdec: could not find power_model node
[    1.081001] rk-vcodec ff660000.rkvdec: init success
[    1.082902] dma-pl330 ff6d0000.dma-controller: Loaded driver for PL330 DMAC-241330
[    1.083574] dma-pl330 ff6d0000.dma-controller:       DBUFF-32x8bytes Num_Chans-6 Num_Peri-12 Num_Events-12
[    1.085758] dma-pl330 ff6e0000.dma-controller: Loaded driver for PL330 DMAC-241330
[    1.086427] dma-pl330 ff6e0000.dma-controller:       DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[    1.087487] rockchip-system-monitor rockchip-system-monitor: system monitor probe
[    1.089447] Serial: 8250/16550 driver, 5 ports, IRQ sharing disabled
[    1.090620] ff180000.serial: ttyS0 at MMIO 0xff180000 (irq = 38, base_baud = 1500000) is a 16550A
[    1.091929] ff370000.serial: ttyS4 at MMIO 0xff370000 (irq = 40, base_baud = 1500000) is a 16550A
[    1.093778] [drm] Initialized drm 1.1.0 20060810
[    1.097812] [drm] Rockchip DRM driver version: v1.0.1
[    1.100736] mali ff9a0000.gpu: Failed to get regulator
[    1.101196] mali ff9a0000.gpu: Power control initialization failed
[    1.102086] Unable to detect cache hierarchy for CPU 0
[    1.107057] brd: module loaded
[    1.112512] loop: module loaded
[    1.113358] zram: Added device: zram0
[    1.116203] rk_gmac-dwmac fe300000.ethernet: clock input or output? (input).
[    1.116845] rk_gmac-dwmac fe300000.ethernet: TX delay(0x28).
[    1.117351] rk_gmac-dwmac fe300000.ethernet: RX delay(0x11).
[    1.117877] rk_gmac-dwmac fe300000.ethernet: integrated PHY? (no).
[    1.118582] rk_gmac-dwmac fe300000.ethernet: cannot get clock clk_mac_speed
[    1.119211] rk_gmac-dwmac fe300000.ethernet: clock input from PHY
[    1.124763] rk_gmac-dwmac fe300000.ethernet: init for RGMII
[    1.125371] stmmac - user ID: 0x10, Synopsys ID: 0x35
[    1.125827]  Ring mode enabled
[    1.126100]  DMA HW capability register supported
[    1.126498]  Normal descriptors
[    1.126813]  RX Checksum Offload Engine supported (type 2)
[    1.127303]  TX Checksum insertion supported
[    1.127686]  Wake-Up On Lan supported
[    1.128046]  Enable RX Mitigation via HW Watchdog Timer
[    1.199192] libphy: stmmac: probed
[    1.199509] eth%d: PHY ID 001cc915 at 0 IRQ POLL (stmmac-0:00) active
[    1.200089] eth%d: PHY ID 001cc915 at 1 IRQ POLL (stmmac-0:01)
[    1.201919] PPP generic driver version 2.4.2
[    1.202518] Rockchip WiFi SYS interface (V1.00) ...
[    1.203107] usbcore: registered new interface driver asix
[    1.203662] usbcore: registered new interface driver ax88179_178a
[    1.204251] usbcore: registered new interface driver cdc_ether
[    1.204844] usbcore: registered new interface driver qmi_wwan
[    1.207331] rockchip-dwc3 usb0: failed to get drvdata dwc3
[    1.212832] rockchip-dwc3 usb1: fail to get drvdata hcd
[    1.214783] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.215380] ehci-pci: EHCI PCI platform driver
[    1.215873] ehci-platform: EHCI generic platform driver
[    1.220353] ehci-platform fe3c0000.usb: EHCI Host Controller
[    1.220896] ehci-platform fe3c0000.usb: new USB bus registered, assigned bus number 1
[    1.221735] ehci-platform fe3c0000.usb: irq 30, io mem 0xfe3c0000
[    1.227665] ehci-platform fe3c0000.usb: USB 2.0 started, EHCI 1.00
[    1.228422] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.229037] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.229692] usb usb1: Product: EHCI Host Controller
[    1.230129] usb usb1: Manufacturer: Linux 4.4.179 ehci_hcd
[    1.230634] usb usb1: SerialNumber: fe3c0000.usb
[    1.231679] hub 1-0:1.0: USB hub found
[    1.232054] hub 1-0:1.0: 1 port detected
[    1.233225] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.233813] ohci-platform: OHCI generic platform driver
[    1.234923] ohci-platform fe3e0000.usb: Generic Platform OHCI controller
[    1.235537] ohci-platform fe3e0000.usb: new USB bus registered, assigned bus number 2
[   24.128626] INFO: rcu_sched detected stalls on CPUs/tasks:
[   24.129133]  0-...: (0 ticks this GP) idle=349/140000000000000/0 softirq=28/28 fqs=34
[   24.129833]  (detected by 4, t=22895 jiffies, g=-236, c=-237, q=5)
[   24.130390] Task dump for CPU 0:
[   24.130685] swapper/0       R  running task        0     1      0 0x00000012
[   24.131326] Call trace:
[   24.131560] [<ffffff8008085cf4>] __switch_to+0x94/0xc8
[   24.131639] Watchdog detected hard LOCKUP on cpu 0
[   24.131640] ------------[ cut here ]------------
[   24.131643] WARNING: at kernel/watchdog.c:352
[   24.131646] Modules linked in:
[   24.131648]
[   24.131654] CPU: 5 PID: 0 Comm: swapper/5 Not tainted 4.4.179 #2
[   24.131656] Hardware name: FriendlyElec NanoPi NEO4 (DT)
[   24.131659] task: ffffffc03eab4600 task.stack: ffffffc03eacc000
[   24.131667] PC is at watchdog_timer_fn+0x210/0x360
[   24.131671] LR is at watchdog_timer_fn+0x210/0x360
[   24.131674] pc : [<ffffff800814ebc8>] lr : [<ffffff800814ebc8>] pstate: 600001c5
[   24.131676] sp : ffffffc03ff55df0
[   24.131682] x29: ffffffc03ff55df0 x28: ffffff80090c78b8
[   24.131686] x27: ffffff80090962a8 x26: ffffff8009096330
[   24.131691] x25: ffffffc03eacfe00 x24: 0000000000000000
[   24.131695] x23: ffffff80090c6818 x22: 0000000000000000
[   24.131699] x21: ffffffc03ff582d0 x20: ffffff80090c6000
[   24.131703] x19: ffffff8009096000 x18: 0000000000000000
[   24.131707] x17: 0000000000000007 x16: 0000000000000001
[   24.131711] x15: ffffff80090c5610 x14: ffffff8009262598
[   24.131715] x13: ffffff80092621dd x12: 0000000000000001
[   24.131720] x11: 7fffffffffffffff x10: 0000000200000000
[   24.131724] x9 : 0000000000000002 x8 : 4c20647261682064
[   24.131728] x7 : 6574636574656420 x6 : ffffff80092621b8
[   24.131732] x5 : 00ffffffffffffff x4 : 0000000000000008
[   24.131736] x3 : 0000000000003020 x2 : 0000004036ec2000
[   24.131740] x1 : 0000000000000005 x0 : 0000000000000026
[   24.131743]
[   24.131743] PC: 0xffffff800814eb48:
[   24.131760] eb48  340000c1 0b010021 d35efc00 8b21c2c1 cb000021 b7f804a1 910aa273 d538d080
[   24.131772] eb68  91022a73 38206a7f 52800020 a94153f3 a9425bf5 a94363f7 a9446bf9 a94573fb
[   24.131785] eb88  a8c77bfd d65f03c0 3822683f 910003e1 17ffffab d503201f 9102237a 387a6821
[   24.131797] eba8  35ffff61 b9402ae1 35000581 2a0003e1 f0006580 911e8000 f90037a4 94010598
[   24.131810] ebc8  d4210000 f94037a4 52800022 910003e1 f8647b80 383a6802 17ffff99 d503201f
[   24.131822] ebe8  3822681f 17ffffaa 6b160016 54fffb60 91022b55 d538d081 38756820 340001a0
[   24.131834] ec08  91024340 f8606822 d5384100 eb00005f 54fff480 3835683f d538d093 97fe1ea5
[   24.131846] ec28  d35efc00 f8336b40 17ffff9e d503201f 340001d8 900089c1 911fa021 52800000
[   24.131849]
[   24.131849] LR: 0xffffff800814eb48:
[   24.131861] eb48  340000c1 0b010021 d35efc00 8b21c2c1 cb000021 b7f804a1 910aa273 d538d080
[   24.131874] eb68  91022a73 38206a7f 52800020 a94153f3 a9425bf5 a94363f7 a9446bf9 a94573fb
[   24.131886] eb88  a8c77bfd d65f03c0 3822683f 910003e1 17ffffab d503201f 9102237a 387a6821
[   24.131898] eba8  35ffff61 b9402ae1 35000581 2a0003e1 f0006580 911e8000 f90037a4 94010598
[   24.131911] ebc8  d4210000 f94037a4 52800022 910003e1 f8647b80 383a6802 17ffff99 d503201f
[   24.131923] ebe8  3822681f 17ffffaa 6b160016 54fffb60 91022b55 d538d081 38756820 340001a0
[   24.131935] ec08  91024340 f8606822 d5384100 eb00005f 54fff480 3835683f d538d093 97fe1ea5
[   24.131947] ec28  d35efc00 f8336b40 17ffff9e d503201f 340001d8 900089c1 911fa021 52800000
[   24.131950]
[   24.131950] SP: 0xffffffc03ff55d70:
[   24.131962] 5d70  00000000 00000000 090c6818 ffffff80 00000000 00000000 3eacfe00 ffffffc0
[   24.131974] 5d90  09096330 ffffff80 090962a8 ffffff80 090c78b8 ffffff80 3ff55df0 ffffffc0
[   24.131987] 5db0  0814ebc8 ffffff80 3ff55df0 ffffffc0 0814ebc8 ffffff80 600001c5 00000000
[   24.131999] 5dd0  00000000 00000000 00000000 00000000 00000000 00000080 3e400000 ffffffc0
[   24.132011] 5df0  3ff55e60 ffffffc0 08118970 ffffff80 3ff582d0 ffffffc0 3ff57c80 ffffffc0
[   24.132025] 5e10  3ff57d00 ffffffc0 0814e9b8 ffffff80 090c5000 ffffff80 09090000 ffffff80
[   24.132037] 5e30  00000001 00000000 09090000 ffffff80 091d2a28 ffffff80 3eab4600 ffffffc0
[   24.132050] 5e50  3ff582d0 ffffffc0 00000000 00000000 3ff55ee0 ffffffc0 08119238 ffffff80
[   24.132054]
[   24.132054] X6: 0xffffff8009262138:
[   24.132066] 2138  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   24.132079] 2158  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   24.132091] 2178  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   24.132103] 2198  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   24.132115] 21b8  38623132 33313332 66660032 30303866 32363239 3a383331 726c000a 5b203a20
[   24.132127] 21d8  6666663c 38666666 31383030 63626534 205d3e38 61747370 203a6574 30303036
[   24.132139] 21f8  35633130 7371000a 2034333d 7465000a 33656640 30303030 5d305b30 202d2027
[   24.132152] 2218  74617473 28207375 000a2930 20000a29 6b726f77 6666000a 30386666 30303830
[   24.132156]
[   24.132156] X13: 0xffffff800926215d:
[   24.132168] 215c  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   24.132180] 217c  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   24.132192] 219c  00000000 00000000 00000000 00000000 00000000 00000000 00000000 30303020
[   24.132204] 21bc  32300020 66660030 30386666 36323930 64353132 72000a3a 5b203a20 6666663c
[   24.132216] 21dc  38666666 31383030 63626534 205d3e38 61747370 203a6574 30303036 35633130
[   24.132229] 21fc  7371000a 2034333d 7465000a 33656640 30303030 5d305b30 202d2027 74617473
[   24.132241] 221c  28207375 000a2930 20000a29 6b726f77 6666000a 30386666 30303830 30303030
[   24.132253] 223c  30202d20 66666678 62666666 66666264 30303066 20202030 20202028 20363432
[   24.132266] 225c  0a294247 20202020 692e2020 2074696e 7830203a 66666666 30386666 62663830
[   24.132268]
[   24.132268] X14: 0xffffff8009262518:
[   24.132280] 2518  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   24.132292] 2538  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   24.132304] 2558  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   24.132316] 2578  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   24.132328] 2598  00000000 00000000 00000000 00000000 00000000 00000000 65697246 796c646e
[   24.132341] 25b8  63656c45 6e614e20 2069506f 344f454e 54442820 00000029 00000000 00000000
[   24.132352] 25d8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   24.132364] 25f8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   24.132366]
[   24.132366] X15: 0xffffff80090c5590:
[   24.132379] 5590  ffffffff ffffffff 00000000 00000000 00000000 00000000 00000000 00000000
[   24.132391] 55b0  00000000 00000000 00000000 00000000 00000000 dead4ead ffffffff 00000000
[   24.132403] 55d0  ffffffff ffffffff 00000000 00000000 00000000 00000000 00000000 00000000
[   24.132415] 55f0  00000000 00000000 00000000 00000000 00000000 00000000 00000001 00000000
[   24.132428] 5610  dc8ba6b3 cb88537f 00000000 00000000 000000ff 00000000 0037b0d6 0000001f
[   24.132441] 5630  00000001 00000000 40000000 00000000 00000000 00000000 07e00000 ffffff80
[   24.132454] 5650  00000000 00000000 00000000 00000000 00000000 00000000 0000003f 00000000
[   24.132466] 5670  0000003f 00000000 0000003f 00000000 0000003f 00000000 00000000 00000000
[   24.132469]
[   24.132469] X19: 0xffffff8009095f80:
[   24.132481] 5f80  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   24.132493] 5fa0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   24.132505] 5fc0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   24.132517] 5fe0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   24.132529] 6000  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   24.132541] 6020  00000000 00000000 000000000 00000000 00000000
[   24.133003] 62f0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   24.133015] 6310  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   24.133027] 6330  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   24.133039] 6350  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   24.133051] 6370  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   24.133063] 6390  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   24.133065]
[   24.133065] X27: 0xffffff8009096228:
[   24.133078] 6228  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   24.133090] 6248  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   24.133101] 6268  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   24.133113] 6288  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   24.133125] 62a8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   24.133138] 62c8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   24.133150] 62e8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   24.133162] 6308  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   24.133164]
[   24.133164] X28: 0xffffff80090c7838:
[   24.133176] 7838  00000001 00000000 00000001 00000000 00000001 00000000 000003e8 00000000
[   24.133188] 7858  00000001 00015000 00000010 00000000 3ff678c0 ffffffc0 00000060 00000000
[   24.133200] 7878  00001000 00000001 3ff67a40 ffffffc0 3ff69d80 ffffffc0 00000006 00000015
[   24.133212] 7898  3ff67a00 ffffffc0 3ff679c0 ffffffc0 00000000 00000005 3fee9000 ffffffc0
[   24.133225] 78b8  36e59000 00000040 36e6e000 00000040 36e83000 00000040 36e98000 00000040
[   24.133238] 78d8  36ead000 00000040 36ec2000 00000040 00000000 00000000 00000000 00000000
[   24.133251] 78f8  00000001 00000000 00000002 00000000 0000141b 00000000 00010000 00000000
[   24.133263] 7918  0003ffff 00000000 0000753f 00000000 00002000 00000000 00000000 0000fffa
[   24.133265]
[   24.133265] X29: 0xffffffc03ff55d70:
[   24.133277] 5d70  00000000 00000000 090c6818 ffffff80 00000000 00000000 3eacfe00 ffffffc0
[   24.133289] 5d90  09096330 ffffff80 090962a8 ffffff80 090c78b8 ffffff80 3ff55df0 ffffffc0
[   24.133302] 5db0  0814ebc8 ffffff80 3ff55df0 ffffffc0 0814ebc8 ffffff80 600001c5 00000000
[   24.133314] 5dd0  00000000 00000000 00000000 00000000 00000000 00000080 3e400000 ffffffc0
[   24.133326] 5df0  3ff55e60 ffffffc0 08118970 ffffff80 3ff582d0 ffffffc0 3ff57c80 ffffffc0
[   24.133338] 5e10  3ff57d00 ffffffc0 0814e9b8 ffffff80 090c5000 ffffff80 09090000 ffffff80
[   24.133351] 5e30  00000001 00000000 09090000 ffffff80 091d2a28 ffffff80 3eab4600 ffffffc0
[   24.133363] 5e50  3ff582d0 ffffffc0 00000000 00000000 3ff55ee0 ffffffc0 08119238 ffffff80
[   24.133364]
[   24.133375] ---[ end trace 7c0ba615e97f7e1b ]---
[   24.133377] Call trace:
[   24.133381] Exception stack(0xffffffc03ff55c20 to 0xffffffc03ff55d50)
[   24.133386] 5c20: ffffff8009096000 0000008000000000 ffffffc03ff55df0 ffffff800814ebc8
[   24.133390] 5c40: ffffffc03ff55c60 ffffff8008100f00 0000000000000026 0000000000000005
[   24.133393] 5c60: ffffffc03ff55d10 ffffff8008101278 ffffffc03ff55d70 ffffff8008e017a0
[   24.133397] 5c80: ffffffc03ff582d0 0000000000000000 ffffff80090c6818 0000000000000000
[   24.133400] 5ca0: ffffffc03eacfe00 ffffff8009096330 ffffff80090962a8 ffffff80090c78b8
[   24.133404] 5cc0: 0000000000000026 0000000000000005 0000004036ec2000 0000000000003020
[   24.133407] 5ce0: 0000000000000008 00ffffffffffffff ffffff80092621b8 6574636574656420
[   24.133411] 5d00: 4c20647261682064 0000000000000002 0000000200000000 7fffffffffffffff
[   24.133414] 5d20: 0000000000000001 ffffff80092621dd fff
                                                          f

I figured out the connection!

It was necessary to set the speed in PuTTy to 1500000, and in the COM port settings in the Windows device manager, set the maximum speed possible, I have it 921600.


Now everything that is attached above is loaded, but if you press the keyboard during the download process, then the introduction of commands will become available. However, the "eflasher" command from the NANO PI NEO4 Wiki does not work.

When you enter the command from the suggested "help" list, - "bootm", it says that my kernel is incorrect.

This is what PuTTy produces:

Image
As I recall, eflasher is what you run on the Linux PC that you use to do the platform development and download to the NEO4. Fastboot is what you run on the NEO4 to put it into the correct mode for eflasher to work. Pretty sure I used this on the T4.
How do I enter fastboot and how do I download the image after that? Is there a step-by-step instruction somewhere?

I feel like I am entering fastboot via command line on a serial connection. The FA then asks to use the USB protocol.

Not clear what should I do? Upload some image to the USB stick? Do you need to do this through an etcher or is it enough to just write it?

I'm not a programmer, and so far I have more questions than answers.
You can use eflasher to put the image onto an SD card and then this will write the image to the EMMC. This same method works for the T4 that I have.

http://wiki.friendlyarm.com/wiki/index. ... nd_SD_card
v8dave wrote:
You can use eflasher to put the image onto an SD card and then this will write the image to the EMMC. This same method works for the T4 that I have.

http://wiki.friendlyarm.com/wiki/index. ... nd_SD_card



I do just that, and it works great with the M4. But it doesn't work with NEO4, I see the logo on the screen and nothing else happens.

At the same time, in the serial port, I cannot send the "eflasher" command, as it is written in the Wiki. The terminal reports that this is not a command.

Who is online

In total there are 7 users online :: 0 registered, 0 hidden and 7 guests (based on users active over the past 5 minutes)
Most users ever online was 5185 on Wed Jan 22, 2020 1:44 pm

Users browsing this forum: No registered users and 7 guests