-
Posts
140 -
Joined
-
Last visited
Content Type
Forums
Store
Crowdfunding
Applications
Events
Raffles
Community Map
Posts posted by mantouboji
-
-
How long will it take to boot properly?
-
-
On 7/31/2021 at 4:23 PM, mantouboji said:
I can't use BT in OPi 3
I added uart1 in armbianEnv.txt
___ ____ _ _____ / _ \| _ \(_) |___ / | | | | |_) | | |_ \ | |_| | __/| | ___) | \___/|_| |_| |____/ Welcome to Armbian 21.05.6 Hirsute with Linux 5.13.6-sunxi64 System load: 6% Up time: 3 min Memory usage: 7% of 1.94G IP: 192.168.20.50 CPU temp: 69°C Usage of /: 23% of 15G RX today: 0 B Last login: Sat Jul 31 08:20:21 2021 from fe80::18b0:75fb:8156:393%wlan0 yaofei@opip3:~$ hciconfig hci1: Type: Primary Bus: UART BD Address: 00:00:00:00:00:00 ACL MTU: 0:0 SCO MTU: 0:0 DOWN RX bytes:0 acl:0 sco:0 events:0 errors:0 TX bytes:14 acl:0 sco:0 commands:2 errors:0 hci0: Type: Primary Bus: SDIO BD Address: 00:00:00:00:00:00 ACL MTU: 0:0 SCO MTU: 0:0 DOWN RX bytes:0 acl:0 sco:0 events:0 errors:0 TX bytes:0 acl:0 sco:0 commands:0 errors:0 yaofei@opip3:~$ dmesg | grep brcm [ 6.650807] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43456-sdio for chip BCM4345/9 [ 8.839304] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43456-sdio for chip BCM4345/9 [ 8.839533] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have limited channels available [ 8.840043] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/9 wl0: Feb 11 2020 11:54:51 version 7.45.96.61 (be7af2d@shgit) (r745790) FWID 01-a41d86bd es7.c5.n4.a3
sorry.
Sine my GPS module attached to S-UART-TX and S-UART-RX, I added the uart1 overlay .
Now I changed to GPS to UART3, remove uart1 on armbianEnv.txt , the bluetooth works well .
-
I can't use BT in OPi 3
I added uart1 in armbianEnv.txt
___ ____ _ _____ / _ \| _ \(_) |___ / | | | | |_) | | |_ \ | |_| | __/| | ___) | \___/|_| |_| |____/ Welcome to Armbian 21.05.6 Hirsute with Linux 5.13.6-sunxi64 System load: 6% Up time: 3 min Memory usage: 7% of 1.94G IP: 192.168.20.50 CPU temp: 69°C Usage of /: 23% of 15G RX today: 0 B Last login: Sat Jul 31 08:20:21 2021 from fe80::18b0:75fb:8156:393%wlan0 yaofei@opip3:~$ hciconfig hci1: Type: Primary Bus: UART BD Address: 00:00:00:00:00:00 ACL MTU: 0:0 SCO MTU: 0:0 DOWN RX bytes:0 acl:0 sco:0 events:0 errors:0 TX bytes:14 acl:0 sco:0 commands:2 errors:0 hci0: Type: Primary Bus: SDIO BD Address: 00:00:00:00:00:00 ACL MTU: 0:0 SCO MTU: 0:0 DOWN RX bytes:0 acl:0 sco:0 events:0 errors:0 TX bytes:0 acl:0 sco:0 commands:0 errors:0 yaofei@opip3:~$ dmesg | grep brcm [ 6.650807] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43456-sdio for chip BCM4345/9 [ 8.839304] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43456-sdio for chip BCM4345/9 [ 8.839533] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have limited channels available [ 8.840043] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/9 wl0: Feb 11 2020 11:54:51 version 7.45.96.61 (be7af2d@shgit) (r745790) FWID 01-a41d86bd es7.c5.n4.a3
-
build zero2 still use U-BOOT 2021.7. can't boot
build for OrangePi 3 use u-boot 2020.10, but build failed
-
stop after "Starting Kernel ... "
It seems not load the “sun50i-h616-orangepi-zero2.dtb”
-
-
-
Does anyone can boot normally bt the latest version ?
-
4 hours ago, terrya said:
Hi, For info just built edge Buster image, booted okay with ethernet and usb, no wifi and no reboot
But don't apt upgrade the kernel image
-
I usually attach a GPS module to OrangePi One to act as a GPS ntp server .
GPS serial data can use any UART port. but PPS pulse can use PA7 or UART_RTS, I most connect to PA7, works very well.
Recently I bought a GPS modules for Rasberry Pi, it connect the PPS to pin 12, in One it's PD14
But when I set param_pps_pin=PD14 in armbianEnv.txt , it can't work at all .
see /sys/kernel/debug/gpio , there is no GPIO 110 (PD14) at all.
So don't use PD14 as a PPS pulse input.
-
After some hack, I use the SPI port on OPi One to connect with a MAX6675 board.
The SPI port on One is SPI0, so armbianEnv.txt should include these:
overlays=spi-spidev param_spidev_spi_bus=0 param_spidev_spi_cs=0
the MAX6675 connects to OPi One as:
MAX6675 One GPIO
------------------------------------------
VCC PIN17
GND PIN20
SCK PIN23
CS PIN24
SO PIN21
Then use the attachment program to read from MAX6675
-
I use PA20, PIN37.
overlays=w1-gpio usbhost0
param_w1_pin=PA20 -
Now I use another OrangePi One board to do some testing.
It runs an old version of Armbian
___ ____ _ ___ / _ \ _ __ __ _ _ __ __ _ ___ | _ \(_) / _ \ _ __ ___ | | | | '__/ _` | '_ \ / _` |/ _ \ | |_) | | | | | | '_ \ / _ \ | |_| | | | (_| | | | | (_| | __/ | __/| | | |_| | | | | __/ \___/|_| \__,_|_| |_|\__, |\___| |_| |_| \___/|_| |_|\___| |___/ Welcome to ARMBIAN 5.65 user-built Ubuntu 18.04.1 LTS 4.14.81-sunxi System load: 0.86 0.21 0.07 Up time: 0 min Memory usage: 12 % of 493MB IP: 192.168.20.113 CPU temp: 33°C Usage of /: 20% of 7.3G
I connect 3 18B20 heads to PA20.
It can't find any of them.
so I upgrade to the latest version
Welcome to ARMBIAN 5.73 stable Ubuntu 18.04.2 LTS 4.19.20-sunxi
Now it works.
So there must be some fix after 4.14.81 .
My configuration files are:
/boot/armbianEnv.txt
verbosity=1 logo=disabled console=both disp_mode=1920x1080p60 overlay_prefix=sun8i-h3 rootdev=UUID=8d2923b7-39e0-426b-82b6-476bc5af0db2 rootfstype=ext4 # UART1 for GPS # PPS for GPS # w1-gpio for DS18B20 overlays=w1-gpio pps-gpio uart1 usbhost0 param_w1_pin=PA20 param_pps_pin=PA7 usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u
the /etc/default/cpufrequtils file is the default one.
# WARNING: this file will be replaced on board support package (linux-root-...) upgrade ENABLE=true MIN_SPEED=408000 MAX_SPEED=1200000 GOVERNOR=ondemand
The pull-up resistor must be 4.7K.
-
I replace the ds18b20 detector head with a new one , and all works well .
Thanks all.
-
I chang to use PIN 4 to get 5V and PIN6 to get GND, it works. Thx .
But only works for a short time, now :
yaofei@opione2:~$ journalctl -fn | grep w1
3月 06 11:16:48 opione2 hass[808]: 2019-03-06 11:16:48 ERROR (SyncWorker_1) [homeassistant.components.sensor.onewire] No onewire sensor found. Check if dtoverlay=w1-gpio is in your /boot/config.txt. Check the mount_dir parameter if it's defined
3月 06 11:17:34 opione2 kernel: w1_master_driver w1_bus_master1: Attaching one wire slave 00.800000000000 crc 8c
3月 06 11:17:34 opione2 kernel: w1_master_driver w1_bus_master1: Family 0 for 00.800000000000.8c is not registered.
3月 06 11:18:32 opione2 kernel: w1_master_driver w1_bus_master1: Attaching one wire slave 00.400000000000 crc 46
3月 06 11:18:32 opione2 kernel: w1_master_driver w1_bus_master1: Family 0 for 00.400000000000.46 is not registered.
-
-
3 minutes ago, FRANK333 said:
still have the same problem?
Yeah, It can't works at all.
[ 0.000000] Normal zone: 1152 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 131072 pages, LIFO batch:31
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 129920
[ 2.876113] [TTM] Zone kernel: Available graphics memory: 252532 kiB
[ 6.055402] random: fast init done
[ 6.761472] systemd[1]: Set hostname to <opione2>.
[ 8.603638] gpio-20 (onewire@0): enforced open drain please flag it properly in DT/ACPI DSDT/board file
[ 8.825062] thermal thermal_zone0: failed to read out thermal zone (-110)
[ 10.501758] random: crng init done
[ 57.867241] w1_master_driver w1_bus_master1: Attaching one wire slave 00.800000000000 crc 8c
[ 116.503399] w1_master_driver w1_bus_master1: Attaching one wire slave 00.400000000000 crc 46
[ 163.347210] w1_master_driver w1_bus_master1: Attaching one wire slave 00.c00000000000 crc ca -
I use the same hardware configuration for a long time , running very well under kernel 3.x
-
2 minutes ago, martinayotte said:
what is the MIN_SPEED in /etc/default/cpufrequtils ? If it is too low, W1 may get into trouble, I´m usually set the MIN_SPEED to 480000 ...
see:
yaofei@opione2:~$ cat /etc/default/cpufrequtils
# WARNING: this file will be replaced on board support package (linux-root-...) upgrade
ENABLE=true
MIN_SPEED=408000
MAX_SPEED=1200000
GOVERNOR=ondemand
-
DS18B20 can't work for a long time
<code>
yaofei@opione2:~$ dmesg | grep w1
[ 8.227238] w1_master_driver w1_bus_master1: w1_search: max_slave_count 64 reached, will continue next search.
[ 55.575200] w1_master_driver w1_bus_master1: Attaching one wire slave 00.800000000000 crc 8c
[ 55.579572] w1_master_driver w1_bus_master1: Family 0 for 00.800000000000.8c is not registered.
[ 114.185133] w1_master_driver w1_bus_master1: Attaching one wire slave 00.400000000000 crc 46
[ 114.189866] w1_master_driver w1_bus_master1: Family 0 for 00.400000000000.46 is not registered.
yaofei@opione2:~$ uname -a
Linux opione2 4.19.20-sunxi #5.75 SMP Sat Feb 9 19:02:47 CET 2019 armv7l armv7l armv7l GNU/Linux
yaofei@opione2:~$ ls /sys/bus/w1/
devices/ drivers/ drivers_autoprobe drivers_probe uevent
yaofei@opione2:~$ ls /sys/bus/w1/devices/
00-400000000000 00-800000000000 w1_bus_master1
yaofei@opione2:~$</code>
my armbianEnv.txt:
verbosity=1 logo=disabled console=both disp_mode=1920x1080p60 overlay_prefix=sun8i-h3 rootdev=UUID=fc233414-8f78-4254-8d95-049158fc59da rootfstype=ext4 overlays=uart1 usbhost0 w1-gpio #pps-gpio param_w1_pin=PA10 param_w1_pin_int_pullup=1
an OrangePi One
yaofeideMac-Pro:~ yaofei$ ssh opione2.local ___ ____ _ ___ / _ \ _ __ __ _ _ __ __ _ ___ | _ \(_) / _ \ _ __ ___ | | | | '__/ _` | '_ \ / _` |/ _ \ | |_) | | | | | | '_ \ / _ \ | |_| | | | (_| | | | | (_| | __/ | __/| | | |_| | | | | __/ \___/|_| \__,_|_| |_|\__, |\___| |_| |_| \___/|_| |_|\___| |___/ Welcome to ARMBIAN 5.73 stable Ubuntu 18.04.2 LTS 4.19.20-sunxi System load: 1.18 0.26 0.09 Up time: 0 min Memory usage: 23 % of 493MB IP: 192.168.20.60 CPU temp: 46°C Usage of /: 51% of 7.2G Last login: Mon Mar 4 19:17:02 2019 from 192.168.20.40
-
yaofei@opione2:~$ uname -a
Linux opione2 4.19.13-sunxi #5.70 SMP Sat Jan 12 15:43:21 CET 2019 armv7l armv7l armv7l GNU/Linux
yaofei@opione2:~$ ls /sys/bus/w1/devices/
00-2c00a1004810 00-cc00a1004810 w1_bus_master1
-
16 hours ago, martinayotte said:
Why the pullup is commented out ? Do you have an external one ?
whether commented or not, no any difference.
I use a 5.1K pullup external.
16 hours ago, martinayotte said:This doesn't come from Armbian patches, maybe a bug have been introduced upstream ...
On my side, my DS18B20 is registering properly on my OPi_2E under 4.19.2 :
[ 20.168937] w1_master_driver w1_bus_master1: Attaching one wire slave 28.000005a2fac5 crc ea
Welcome to ARMBIAN 5.61 user-built Ubuntu 18.04.1 LTS 4.14.72-sunxi
-
22 hours ago, martinayotte said:
Are you using w1-gpio overlay ? Are you defining the param_w1_pin parameter properly (without it, default is PD14 pin) ?
I used its config for a long time. It works very well in 16.04 .
overlays=pps-gpio uart1 usbhost0 w1-gpio param_w1_pin=PA10 #param_w1_pin_int_pullup=1 param_pps_pin=PA7
now:
11月 17 20:35:03 opione2 kernel: w1_master_driver w1_bus_master1: Attaching one wire slave 80.d2c000430010 crc fb 11月 17 20:35:03 opione2 kernel: w1_master_driver w1_bus_master1: Family 80 for 80.d2c000430010.fb is not registered. 11月 17 20:35:18 opione2 kernel: w1_master_driver w1_bus_master1: Attaching one wire slave 80.32c000430010 crc 12 11月 17 20:35:18 opione2 kernel: w1_master_driver w1_bus_master1: Family 80 for 80.32c000430010.12 is not registered. 1
OrangePi Zero2 - Allwinner H616
in Orange Pi Zero 2
Posted
I tried,can't pass build