Jump to content

worked im for Banana Pi M3


Tu Hu

Recommended Posts

23 часа назад, Tu Hu сказал:

If i try a new img, reboot it all the time😩

Please link to the image. I'll check it out.
A counter question. Which external devices are connected to the board?

Does your power supply provide enough power to power the board and the external device?

Link to comment
Share on other sites

https://armbian.hosthatch.com/dl/bananapim3/archive/Armbian_23.11.1_Bananapim3_bookworm_current_6.1.63.img.xz

@Gunjan Gupta

U-Boot SPL 2023.10-armbian (Oct 13 2023 - 19:18:50 +0000)
DRAM: 2048 MiB
Trying to boot from MMC1
ns16550_serial serial@1c28000: pinctrl_select_state_full: uclass_get_device_by_phandle_id: err=-19


U-Boot 2023.10-armbian (Oct 13 2023 - 19:18:50 +0000) Allwinner Technology

CPU:   Allwinner A83T (SUN8I 1673)
Model: Banana Pi BPI-M3
DRAM:  2 GiB
sunxi_set_gate: (CLK#6) unhandled
Core:  67 devices, 21 uclasses, devicetree: separate
WDT:   Not starting watchdog@1c20ca0
MMC:   mmc@1c0f000: 0, mmc@1c10000: 2, mmc@1c11000: 1
Loading Environment from FAT... Unable to use mmc 0:1...
In:    serial,usbkbd
Out:   serial
Err:   serial
Net:   eth0: ethernet@1c30000
starting USB...
Bus usb@1c19000: No host cable detected: Port not available.
Bus usb@1c1a000: USB EHCI 1.00
scanning bus usb@1c1a000 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Autoboot in 1 seconds, press <Space> to stop
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Card did not respond to voltage select! : -110
Card did not respond to voltage select! : -110
No EFI system partition
No EFI system partition
Failed to persist EFI variables
BootOrder not defined
EFI boot manager: Cannot load any image
Card did not respond to voltage select! : -110

Device 0: unknown device
ethernet@1c30000 Waiting for PHY auto negotiation to complete.... done
BOOTP broadcast 1
DHCP client bound to address 192.168.100.101 (4 ms)
*** ERROR: `serverip' not set
Cannot autoload with TFTPGET
missing environment variable: pxeuuid
Retrieving file: pxelinux.cfg/01-02-01-24-eb-24-3d
*** ERROR: `serverip' not set
Retrieving file: pxelinux.cfg/C0A86465
*** ERROR: `serverip' not set
Retrieving file: pxelinux.cfg/C0A8646
*** ERROR: `serverip' not set
Retrieving file: pxelinux.cfg/C0A864
*** ERROR: `serverip' not set
Retrieving file: pxelinux.cfg/C0A86
*** ERROR: `serverip' not set
Retrieving file: pxelinux.cfg/C0A8
*** ERROR: `serverip' not set
Retrieving file: pxelinux.cfg/C0A
*** ERROR: `serverip' not set
Retrieving file: pxelinux.cfg/C0
*** ERROR: `serverip' not set
Retrieving file: pxelinux.cfg/C
*** ERROR: `serverip' not set
Retrieving file: pxelinux.cfg/default-arm-sunxi-sunxi
*** ERROR: `serverip' not set
Retrieving file: pxelinux.cfg/default-arm-sunxi
*** ERROR: `serverip' not set
Retrieving file: pxelinux.cfg/default-arm
*** ERROR: `serverip' not set
Retrieving file: pxelinux.cfg/default
*** ERROR: `serverip' not set
Config file not found
BOOTP broadcast 1
DHCP client bound to address 192.168.100.101 (4 ms)
*** ERROR: `serverip' not set
Cannot autoload with TFTPGET
BOOTP broadcast 1
DHCP client bound to address 192.168.100.101 (3 ms)
*** ERROR: `serverip' not set
Cannot autoload with TFTPGET

 

For

https://armbian.hosthatch.com/archive/bananapim3/archive/Armbian_23.8.1_Bananapim3_bookworm_current_6.1.47.img.xz

uboot worked correctly. Loaded the kernel.

The kernel starts running and prints a panic. Stop.

Do you need more detailed information?

Link to comment
Share on other sites

16 minutes ago, going said:

Do you need more detailed information?

I don't see anyone touched anything regarding this board in git history. Do you happen to have any extra patches for this board in your fork? Whats the uboot version you are using in your fork? Can you share the url for the branch from which you have created Armbian_23.10_Bananapim3_bookworm_edge_6.4.10_minimal.zip?

Link to comment
Share on other sites

2 часа назад, Gunjan Gupta сказал:

Whats the uboot version you are using in your fork?

Скрытый текст

U-Boot SPL 2022.07-armbian (Aug 31 2023 - 18:29:28 +0000)
DRAM: 2048 MiB
Trying to boot from MMC1


U-Boot 2022.07-armbian (Aug 31 2023 - 18:29:28 +0000) Allwinner Technology

CPU:   Allwinner A83T (SUN8I 1673)
Model: Banana Pi BPI-M3
DRAM:  2 GiB
sunxi_set_gate: (CLK#6) unhandled
Core:  66 devices, 20 uclasses, devicetree: separate
WDT:   Not starting watchdog@1c20ca0
MMC:   mmc@1c0f000: 0, mmc@1c10000: 2, mmc@1c11000: 1
Loading Environment from FAT... Unable to use mmc 0:1...
In:    serial
Out:   serial
Err:   serial
Net:   phy interface9
eth0: ethernet@1c30000
starting USB...
Bus usb@1c19000: A charger is plugged into the OTG: Port not available.
Bus usb@1c1a000: USB EHCI 1.00
scanning bus usb@1c1a000 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Autoboot in 1 seconds, press <Space> to stop
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot/boot.scr
4121 bytes read in 2 ms (2 MiB/s)
## Executing script at 43100000
U-boot loaded from SD
Boot script loaded from mmc
192 bytes read in 2 ms (93.8 KiB/s)
17539242 bytes read in 879 ms (19 MiB/s)
9034064 bytes read in 454 ms (19 MiB/s)
Found mainline kernel configuration
37960 bytes read in 6 ms (6 MiB/s)
702 bytes read in 2 ms (342.8 KiB/s)
Applying user provided DT overlay sun8i-a83t-spi0-spidev.dtbo
Failed to load '/boot/dtb/overlay/sun8i-a83t-fixup.scr'
Kernel image @ 0x42000000 [ 0x000000 - 0x89d950 ]
## Loading init Ramdisk from Legacy Image at 43400000 ...
   Image Name:   uInitrd
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    17539178 Bytes = 16.7 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 43000000
   Booting using the fdt blob at 0x43000000
   Loading Ramdisk to 48f45000, end 49fff06a ... OK
   Loading Device Tree to 48ed3000, end 48f44fff ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 6.4.14 (root@vm-jammy) (arm-linux-gnueabihf-gcc (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.363
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=50c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Banana Pi BPI-M3
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: Reserved 128 MiB at 0xb8000000
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000040000000-0x000000006fffffff]
[    0.000000]   HighMem  [mem 0x0000000070000000-0x00000000bfffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000040000000-0x00000000bfffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x00000000bfffffff]
[    0.000000] percpu: Embedded 18 pages/cpu s43540 r8192 d21996 u73728
[    0.000000] Kernel command line: root=UUID=41970142-87ec-4b91-8231-1b55ee68d69f rootwait rootfstype=ext4 splash=verbose console=ttyS0,115200 cons1
[    0.000000] The swapaccount= commandline option is deprecated. Please report your usecase to linux-mm@kvack.org if you depend on this functionali.
[    0.000000] Unknown kernel command line parameters "splash=verbose ubootpart=a7d4e9ea-01 ubootsource=mmc sunxi_ve_mem_reserve=0 sunxi_g2d_mem_res.
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 522560
[    0.000000] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000] Memory: 1910664K/2097152K available (10240K kernel code, 1572K rwdata, 3764K rodata, 1024K init, 358K bss, 55416K reserved, 131072K c)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1
[    0.000000] allocated 2097152 bytes of page_ext
[    0.000000] ftrace: allocating 46830 entries in 138 pages
[    0.000000] ftrace: allocated 138 pages with 3 groups
[    0.000000] trace event string verifier disabled
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000]  Rude variant of Tasks RCU enabled.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000002] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000018] Switching to timer-based delay loop, resolution 41ns
[    0.000413] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.001226] Console: colour dummy device 80x30
[    0.001251] printk: console [tty1] enabled
[    0.001959] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.002002] CPU: Testing write buffer coherency: ok
[    0.002147] pid_max: default: 32768 minimum: 301
[    0.002648] LSM: initializing lsm=lockdown,capability,yama,apparmor,integrity
[    0.002777] Yama: becoming mindful.
[    0.003083] AppArmor: AppArmor initialized
[    0.003435] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.003488] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.006635] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.008215] cblist_init_generic: Setting adjustable number of callback queues.
[    0.008274] cblist_init_generic: Setting shift to 3 and lim to 1.
[    0.008457] cblist_init_generic: Setting adjustable number of callback queues.
[    0.008493] cblist_init_generic: Setting shift to 3 and lim to 1.
[    0.008740] Setting up static identity map for 0x40100000 - 0x40100054
[    0.009086] ARM CCI driver probed
[    0.009931] sunxi multi cluster SMP support installed
[    0.010639] rcu: Hierarchical SRCU implementation.
[    0.010661] rcu:     Max phase no-delay instances is 1000.
[    0.012864] smp: Bringing up secondary CPUs ...
[    0.014460] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.016075] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.017617] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.019376] CPU4: thread -1, cpu 0, socket 1, mpidr 80000100
[    0.021221] CPU5: thread -1, cpu 1, socket 1, mpidr 80000101
[    0.022807] CPU6: thread -1, cpu 2, socket 1, mpidr 80000102
[    0.024390] CPU7: thread -1, cpu 3, socket 1, mpidr 80000103
[    0.024548] smp: Brought up 1 node, 8 CPUs
[    0.024715] SMP: Total of 8 processors activated (384.00 BogoMIPS).
[    0.024741] CPU: All CPU(s) started in SVC mode.
[    0.026642] devtmpfs: initialized
[    0.039543] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.039995] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.040222] futex hash table entries: 2048 (order: 5, 131072 bytes, linear)
[    0.049594] pinctrl core: initialized pinctrl subsystem
[    0.052318] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.068307] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.069317] audit: initializing netlink subsys (disabled)
[    0.069919] audit: type=2000 audit(0.068:1): state=initialized audit_enabled=0 res=1
[    0.070599] thermal_sys: Registered thermal governor 'fair_share'
[    0.070620] thermal_sys: Registered thermal governor 'bang_bang'
[    0.070675] thermal_sys: Registered thermal governor 'step_wise'
[    0.070809] cpuidle: using governor ladder
[    0.070870] cpuidle: using governor menu
[    0.080161] platform 1c0c000.lcd-controller: Fixed dependency cycle(s) with /soc/mixer@1200000/ports/port@1/endpoint@0
[    0.080271] platform 1c0c000.lcd-controller: Fixed dependency cycle(s) with /soc/mixer@1100000/ports/port@1/endpoint@0
[    0.080532] platform 1c0d000.lcd-controller: Fixed dependency cycle(s) with /soc/mixer@1200000/ports/port@1/endpoint@1
[    0.080625] platform 1c0d000.lcd-controller: Fixed dependency cycle(s) with /soc/mixer@1100000/ports/port@1/endpoint@1
[    0.086485] platform 1ee0000.hdmi: Fixed dependency cycle(s) with /soc/lcd-controller@1c0d000/ports/port@1/endpoint@1
[    0.088930] platform connector: Fixed dependency cycle(s) with /soc/hdmi@1ee0000/ports/port@1/endpoint
[    0.090374] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.090420] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.095224] cryptd: max_cpu_qlen set to 1000
[    0.165107] raid6: neonx8   gen()   780 MB/s
[    0.233292] raid6: neonx4   gen()   823 MB/s
[    0.301461] raid6: neonx2   gen()   910 MB/s
[    0.369603] raid6: neonx1   gen()   811 MB/s
[    0.437822] raid6: int32x8  gen()   303 MB/s
[    0.505919] raid6: int32x4  gen()   354 MB/s
[    0.574087] raid6: int32x2  gen()   399 MB/s
[    0.642232] raid6: int32x1  gen()   402 MB/s
[    0.642255] raid6: using algorithm neonx2 gen() 910 MB/s
[    0.710372] raid6: .... xor() 650 MB/s, rmw enabled
[    0.710395] raid6: using neon recovery algorithm
[    0.712372] iommu: Default domain type: Translated 
[    0.712434] iommu: DMA domain TLB invalidation policy: strict mode 
[    0.713191] SCSI subsystem initialized
[    0.714263] usbcore: registered new interface driver usbfs
[    0.714336] usbcore: registered new interface driver hub
[    0.714412] usbcore: registered new device driver usb
[    0.714629] mc: Linux media interface: v0.10
[    0.714687] videodev: Linux video capture interface: v2.00
[    0.714841] pps_core: LinuxPPS API ver. 1 registered
[    0.714865] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.714907] PTP clock support registered
[    0.715812] Advanced Linux Sound Architecture Driver Initialized.
[    0.717636] NetLabel: Initializing
[    0.717678] NetLabel:  domain hash size = 128
[    0.717697] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    0.717833] NetLabel:  unlabeled traffic allowed by default
[    0.719079] clocksource: Switched to clocksource arch_sys_counter
[    0.720852] VFS: Disk quotas dquot_6.6.0
[    0.721072] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.722319] AppArmor: AppArmor Filesystem Enabled
[    0.735925] NET: Registered PF_INET protocol family
[    0.736640] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.740846] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.741287] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.741387] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.741729] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear)
[    0.742721] TCP: Hash tables configured (established 8192 bind 8192)
[    0.743411] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.743628] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.744339] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.745316] Trying to unpack rootfs image as initramfs...
[    0.748678] Initialise system trusted keyrings
[    0.748925] Key type blacklist registered
[    0.749683] workingset: timestamp_bits=14 max_order=19 bucket_order=5
[    0.750002] zbud: loaded
[    0.751720] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.753245] fuse: init (API version 7.38)
[    0.761488] integrity: Platform Keyring initialized
[    0.868286] xor: measuring software checksum speed
[    0.876320]    arm4regs        :  1258 MB/sec
[    0.886322]    8regs           :   993 MB/sec
[    0.898200]    32regs          :   834 MB/sec
[    0.906041]    neon            :  1269 MB/sec
[    0.906062] xor: using function: neon (1269 MB/sec)
[    0.906131] Key type asymmetric registered
[    0.906152] Asymmetric key parser 'x509' registered
[    0.906853] bounce: pool size: 64 pages
[    0.907321] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    0.908062] io scheduler mq-deadline registered
[    0.908100] io scheduler kyber registered
[    0.908377] io scheduler bfq registered
[    0.926408] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.931282] misc dump reg init
[    0.944842] brd: module loaded
[    0.954781] loop: module loaded
[    0.960994] usbcore: registered new interface driver usb-storage
[    0.962043] i2c_dev: i2c /dev entries driver
[    0.964469] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    0.967650] ledtrig-cpu: registered to indicate activity on CPUs
[    0.969109] sun8i-ss 1c15000.crypto: will run requests pump with realtime priority
[    0.969585] sun8i-ss 1c15000.crypto: will run requests pump with realtime priority
[    0.969746] sun8i-ss 1c15000.crypto: DEBUG: Register cbc(aes)
[    0.969840] sun8i-ss 1c15000.crypto: DEBUG: Register ecb(aes)
[    0.969873] sun8i-ss 1c15000.crypto: DEBUG: Register cbc(des3_ede)
[    0.969905] sun8i-ss 1c15000.crypto: DEBUG: Register ecb(des3_ede)
[    0.969946] sun8i-ss 1c15000.crypto: Register md5
[    0.969976] sun8i-ss 1c15000.crypto: Register sha1
[    0.970004] sun8i-ss 1c15000.crypto: Register sha224
[    0.970033] sun8i-ss 1c15000.crypto: Register sha256
[    0.970064] sun8i-ss 1c15000.crypto: Register hmac(sha1)
[    0.970133] sun8i-ss 1c15000.crypto: Security System Die ID 7
[    0.970607] hid: raw HID events driver (C) Jiri Kosina
[    0.970790] usbcore: registered new interface driver usbhid
[    0.970817] usbhid: USB HID core driver
[    0.972084] ARM CCI_400_r1 PMU driver probed
[    0.976956] Initializing XFRM netlink socket
[    0.977502] NET: Registered PF_INET6 protocol family
[    2.099211] Freeing initrd memory: 17132K
[    2.178719] Segment Routing with IPv6
[    2.178955] In-situ OAM (IOAM) with IPv6
[    2.179285] NET: Registered PF_PACKET protocol family
[    2.179342] NET: Registered PF_KEY protocol family
[    2.179468] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    2.179731] 8021q: 802.1Q VLAN Support v1.8
[    2.179875] Key type dns_resolver registered
[    2.180592] Registering SWP/SWPB emulation handler
[    2.193714] registered taskstats version 1
[    2.194383] Loading compiled-in X.509 certificates
[    2.201400] Loaded X.509 cert 'Build time autogenerated kernel key: 8f62ebe56f20d36bf479e4b65bbcb810a2d855ae'
[    2.226097] zswap: loaded using pool zstd/z3fold
[    2.241012] Key type .fscrypt registered
[    2.241094] Key type fscrypt-provisioning registered
[    2.253798] Btrfs loaded, zoned=no, fsverity=yes
[    2.292831] Key type encrypted registered
[    2.292938] AppArmor: AppArmor sha1 policy hashing enabled
[    2.312621] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    2.317696] sun8i-a83t-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    2.319183] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    2.321076] sun8i-a83t-r-pinctrl 1f02c00.pinctrl: initialized sunXi PIO driver
[    2.321771] sun8i-a83t-pinctrl 1c20800.pinctrl: supply vcc-pb not found, using dummy regulator
[    2.322778] printk: console [ttyS0] disabled
[    2.322948] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 170, base_baud = 1500000) is a 16550A
[    2.323166] printk: console [ttyS0] enabled
[    3.595949] sun8i-a83t-pinctrl 1c20800.pinctrl: supply vcc-pg not found, using dummy regulator
[    3.606002] 1c28400.serial: ttyS1 at MMIO 0x1c28400 (irq = 171, base_baud = 1500000) is a 16550A
[    3.615425] serial serial0: tty port ttyS1 registered
[    3.621715] sun8i-a83t-pinctrl 1c20800.pinctrl: supply vcc-ph not found, using dummy regulator
[    3.633812] sun4i-drm display-engine: bound 1100000.mixer (ops 0xc0baf724)
[    3.643497] sun4i-drm display-engine: bound 1200000.mixer (ops 0xc0baf724)
[    3.651411] sun4i-drm display-engine: No panel or bridge found... RGB output disabled
[    3.659327] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops 0xc0bab15c)
[    3.667434] sun4i-drm display-engine: bound 1c0d000.lcd-controller (ops 0xc0bab15c)
[    3.675268] sun8i-dw-hdmi 1ee0000.hdmi: supply hvcc not found, using dummy regulator
[    3.683565] sun8i-dw-hdmi 1ee0000.hdmi: Detected HDMI TX controller v1.32a with HDCP (sun8i_dw_hdmi_phy)
[    3.694131] sun8i-dw-hdmi 1ee0000.hdmi: registered DesignWare HDMI I2C bus driver
[    3.702326] sun4i-drm display-engine: bound 1ee0000.hdmi (ops 0xc0baecbc)
[    3.710219] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 0
[    3.718198] sun4i-drm display-engine: [drm] Cannot find any crtc or sizes
[    3.725287] sun4i-drm display-engine: [drm] Cannot find any crtc or sizes
[    3.728345] sun8i-a83t-pinctrl 1c20800.pinctrl: supply vcc-pc not found, using dummy regulator
[    3.747237] sun8i-a83t-r-pinctrl 1f02c00.pinctrl: supply vcc-pl not found, using dummy regulator
[    3.747425] sun8i-a83t-pinctrl 1c20800.pinctrl: supply vcc-pd not found, using dummy regulator
[    3.756744] sunxi-rsb 1f03400.rsb: RSB running at 3000000 Hz
[    3.771076] axp20x-rsb sunxi-rsb-3a3: AXP20x variant AXP813 found
[    3.781678] input: axp20x-pek as /devices/platform/soc/1f03400.rsb/sunxi-rsb-3a3/axp221-pek/input/input0
[    3.794721] axp20x-rsb sunxi-rsb-3a3: AXP20X driver loaded
[    3.795679] vcc-dram: Bringing 1180000uV into 1200000-1200000uV
[    3.801223] sun8i-codec ac100-codec: DMA mask not set
[    3.809759] vcc-wifi: Bringing 2900000uV into 3300000-3300000uV
[    3.811550] sun8i-codec ac100-codec: supply LDOIN not found, using dummy regulator
[    3.825198] sun8i-codec ac100-codec: supply AVCC not found, using dummy regulator
[    3.832798] sun8i-codec ac100-codec: supply VDDIO1 not found, using dummy regulator
[    3.840606] sun8i-codec ac100-codec: supply VDDIO2 not found, using dummy regulator
[    3.848703] ac100-codec-analog: Failed to locate of_node [id: -1]
[    3.858371] dwmac-sun8i 1c30000.ethernet: IRQ eth_wake_irq not found
[    3.864832] dwmac-sun8i 1c30000.ethernet: IRQ eth_lpi not found
[    3.871245] dwmac-sun8i 1c30000.ethernet: supply phy-io not found, using dummy regulator
[    3.879826] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[    3.885641] dwmac-sun8i 1c30000.ethernet: Current syscon value is not the default 1ce6 (expect 0)
[    3.895258] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[    3.902563] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[    3.909815] dwmac-sun8i 1c30000.ethernet: COE Type 2
[    3.914806] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[    3.921637] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[    3.927323] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[    3.975202] sun8i-a83t-pinctrl 1c20800.pinctrl: supply vcc-pf not found, using dummy regulator
[    3.979022] of_cfs_init
[    3.986769] of_cfs_init: OK
[    3.989837] clk: Disabling unused clocks
[    3.989990] sunxi-mmc 1c0f000.mmc: Got CD GPIO
[    3.994091] ALSA device list:
[    4.001531]   No soundcards found.
[    4.011320] sunxi-mmc 1c11000.mmc: initialized, max. request size: 16384 KB, uses new timings mode
[    4.023903] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[    4.040970] Freeing unused kernel image (initmem) memory: 1024K
[    4.071135] mmc0: host does not support reading read-only switch, assuming write-enable
[    4.079539] Run /init as init process
[    4.081401] mmc0: new high speed SDHC card at address 21cd
[    4.086497] mmcblk0: mmc0:21cd APPSD 7.50 GiB 
[    4.096095]  mmcblk0: p1
[    4.175333] mmc2: new DDR MMC card at address 0001
[    4.184038] mmcblk2: mmc2:0001 M8G1GC 7.28 GiB

 

 

Link to comment
Share on other sites

10 часов назад, Tu Hu сказал:

your img dosen't work either on my m3 board😩

On my board:

Скрытый текст
U-Boot SPL 2022.07-armbian (Aug 31 2023 - 18:29:28 +0000)
DRAM: 2048 MiB
Trying to boot from MMC1


U-Boot 2022.07-armbian (Aug 31 2023 - 18:29:28 +0000) Allwinner Technology

CPU:   Allwinner A83T (SUN8I 1673)
Model: Banana Pi BPI-M3
DRAM:  2 GiB
sunxi_set_gate: (CLK#6) unhandled
Core:  66 devices, 20 uclasses, devicetree: separate
WDT:   Not starting watchdog@1c20ca0
MMC:   mmc@1c0f000: 0, mmc@1c10000: 2, mmc@1c11000: 1
Loading Environment from FAT... Unable to use mmc 0:1...
In:    serial
Out:   serial
Err:   serial
Net:   phy interface9
1;-1fdone.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... Scanning for Btrfs filesystems
done.
Begin: Will now check root file system ... fsck from util-linux 2.38.1
[/sbin/fsck.ext4 (1) -- /dev/mmcblk0p1] fsck.ext4 -a -C0 /dev/mmcblk0p1 
armbi_root: clean, 27783/62208 files, 210201/248832 blocks
done.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.

Welcome to Armbian 23.10 Bookworm!

[  OK  ] Created slice system-modpr��…lice - Slice /system/modprobe.
[  OK  ] Created slice system-seria��… - Slice /system/serial-getty.
[  OK  ] Created slice user.slice - User and Session Slice.
....
....
[  OK  ] Reached target sockets.target - Socket Units.
         Starting armbian-hardware-��…m - Armbian hardware monitoring...
         Starting armbian-hardware-��…- Armbian hardware optimization...
         Starting armbian-resize-fi��…[0m - Armbian filesystem resize...
[  OK  ] Finished armbian-hardware-��…[0m - Armbian hardware monitoring.
[  OK  ] Finished armbian-hardware-��…m - Armbian hardware optimization.
[  OK  ] Finished networking.service - Raise network interfaces.
[  OK  ] Finished armbian-resize-fi��…e - Armbian filesystem resize.
[  OK  ] Reached target basic.target - Basic System.
[  OK  ] Started armbian-firstrun.s��…ice - Armbian first run tasks.
[  OK  ] Created slice system-getty.slice - Slice /system/getty.
[  OK  ] Started cron.service -��…kground program processing daemon.
         Starting dbus.service - D-Bus System Message Bus...
         Starting e2scrub_reap.serv��…e ext4 Metadata Check Snapshots...
         Starting loadcpufreq.servi��…eeded to enable cpufreq scaling...
Welcome to ARMBIAN! 

Documentation: https://docs.armbian.com | Community: https://forum.armbian.com

IP address: 192.168.100.101

Create root password: ******
Repeat root password: ******

Support status: community support (unsupported userspace)

Shell: BASH

Creating a new user account. Press <Ctrl-C> to abort

Please provide a username (eg. your first name): leo
Create user (leo) password: ******
Repeat user (leo) password: ******

Please provide your real name: Leo

Dear Leo, your account leo has been created and is sudo enabled.
Please use this account for your daily work from now on.

Detected timezone: Asia/Yekaterinburg

Set user language based on your location? [Y/n] 
Y

Generating locales: ru_RU.UTF-8
root@bananapim3:~# reboot

 

 

After the reboot:

Скрытый текст
 ____  ____  _   __  __ _____ 
| __ )|  _ \(_) |  \/  |___ / 
|  _ \| |_) | | | |\/| | |_ \ 
| |_) |  __/| | | |  | |___) |
|____/|_|   |_| |_|  |_|____/ 
                              
Welcome to Armbian 23.10 Bookworm with Linux 6.4.10

No end-user support: built from trunk & unsupported (bookworm) userspace!

System load:   21%              Up time:       0 min
Memory usage:  5% of 1.96G      IP:            192.168.100.101
CPU temp:      44�°C            Usage of /:    6% of 15G    

[ Menu-driven system configuration (beta): sudo apt update && sudo apt install armbian-config ]

leo@bananapim3:~$ 

 

 

All these output texts are received in the minicom console and a physical connection to the board via a USB-UART adapter.

 

SSH connection:

> ssh leo@192.168.100.101
leo@192.168.100.101's password: 
 ____  ____  _   __  __ _____ 
| __ )|  _ \(_) |  \/  |___ / 
|  _ \| |_) | | | |\/| | |_ \ 
| |_) |  __/| | | |  | |___) |
|____/|_|   |_| |_|  |_|____/ 
                              
Welcome to Armbian 23.10 Bookworm with Linux 6.4.10

No end-user support: built from trunk & unsupported (bookworm) userspace!

System load:   1%               Up time:       8 min
Memory usage:  5% of 1.96G      IP:            192.168.100.101
CPU temp:      43°C             Usage of /:    6% of 15G    

[ Menu-driven system configuration (beta): sudo apt update && sudo apt install armbian-config ]

Last login: Sat Jan 27 12:07:12 2024
leo@bananapim3:~$ sudo apt update
[sudo] пароль для leo: 
Пол:1 http://security.debian.org bookworm-security InRelease [48,0 kB]                                                                 
Пол:2 http://deb.debian.org/debian bookworm InRelease [151 kB]
......

 

I have not tested HDMI and other connected devices.
I communicate with the device only via UART or SSH.
You will have to install the graphical environment yourself.

Link to comment
Share on other sites

P.S.

@Tu Hu There is no watch with a battery on this device.

You must have an Ethernet connection.
During startup, the system will request the exact time from an external server

and if it does not receive it, then it will freeze (i.e. it will wait for a response)

or it will be in the past with respect to the timestamps of the file system and will not be able to work.

Link to comment
Share on other sites

7 часов назад, Tu Hu сказал:

booted... then black screen😩

Is the terminal connected via HDMI?

25.01.2024 в 17:46, Gunjan Gupta сказал:

Can you share the uart output?

 

Link to comment
Share on other sites

12 часов назад, Tu Hu сказал:

i used HDMI.

I checked my image.
In the minicom console (BPI-M3 -UART -> FTD232 -> USB - Host Linux),

in the SSH session,

and on the monitor screen connected via HDMI, I see the same greeting pictures:

 ____  ____  _   __  __ _____ 
| __ )|  _ \(_) |  \/  |___ / 
|  _ \| |_) | | | |\/| | |_ \ 
| |_) |  __/| | | |  | |___) |
|____/|_|   |_| |_|  |_|____/ 
                              
Welcome to Armbian 23.10 Bookworm with Linux 6.4.10

No end-user support: built from trunk & unsupported (bookworm) userspace!

System load:   1%               Up time:       4 min
Memory usage:  6% of 1.96G      IP:            192.168.100.101
CPU temp:      46�°C            Usage of /:    6% of 15G

leo@bananapim3:~$ dmesg | grep -i hdmi
[    0.000000] Kernel command line: root=UUID=41970142-87ec-4b91-8231-1b55ee68d69f rootwait rootfstype=ext4 splash=verbose console=ttyS0,115200 console=1
[    0.084376] platform 1ee0000.hdmi: Fixed dependency cycle(s) with /soc/lcd-controller@1c0d000/ports/port@1/endpoint@1
[    0.086788] platform connector: Fixed dependency cycle(s) with /soc/hdmi@1ee0000/ports/port@1/endpoint
[    2.327031] sun8i-dw-hdmi 1ee0000.hdmi: supply hvcc not found, using dummy regulator
[    2.327713] sun8i-dw-hdmi 1ee0000.hdmi: Detected HDMI TX controller v1.32a with HDCP (sun8i_dw_hdmi_phy)
[    2.328344] sun8i-dw-hdmi 1ee0000.hdmi: EVENT=plugin
[    2.328730] sun8i-dw-hdmi 1ee0000.hdmi: registered DesignWare HDMI I2C bus driver
[    2.329389] sun4i-drm display-engine: bound 1ee0000.hdmi (ops 0xc0baecbc)
[    2.330594] sun8i-dw-hdmi 1ee0000.hdmi: read_hpd result: 1
[   43.228319] sun8i-dw-hdmi 1ee0000.hdmi: EVENT=plugin
[   44.121951] sun8i-dw-hdmi 1ee0000.hdmi: EVENT=plugin

 

Observation:
My monitor is very smart.

He thinks he has correctly identified the entrance from the three possible ones.

But he was wrong.

I had to press the button with my hand to switch the mode and see the command prompt for entering the password.

Link to comment
Share on other sites

@Tu HuGenerally the programs like picocom has options to log output to file. For example with picocom one can use -g <filename> to log output to the specified file. That way you don't have have to spend time taking screenshots. Instead you can just share the file afterwards

 

Could you please plug the sdcard to your linux computer and add following to the end of boot/armbianEnv.txt?

console=serial
earlycon=on
verbosity=7
extraargs=debug panic=0

 

Now boot again from the sdcard and share the captured serial output

Link to comment
Share on other sites

Hmm... probably using -g was not such good idea after all. Things are all overwritten and almost illegible. But it seems you have switched images around. I noticed in your screenshots the u-boot version was 2024.01-rc5 which mean't you were using the image from the url that I shared. But now in the log.txt, I see armbian version as 23.10 which means you used @going's image this time. 

 

The link I shared was the nightly image of Armbian. Changes from that image will be in next release. Could you please get the logs for the same? 

Link to comment
Share on other sites

55 минут назад, Tu Hu сказал:

got the logs

Try to set the encoding en_US.UTF-8  both in the system on the BPI-M3 and in the terminal window in which you receive the log.

Link to comment
Share on other sites

Thanks for sharing the output. I can see 2 things from the log. The kernel didn't paniced, neither did a graceful system restart occured. System was booting fine and all of a sudden it got restarted. This tells me that  you most likely have problem with your power supply which seems not able to cope up with the load and is resetting the device. Try using a different power supply

Link to comment
Share on other sites

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.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines