If I use 4gb memory as I do now, how should my memory address configure the DTS file, and how should I configure mbus?by luo - Debian
hi bodhi I have tried many addresses, including 0x800000, 0x2000000, 0x8000000, etc. errors are prompted in the main line uboot Version (after 2018) I now suspect that the memory configuration in DTS is wrong. I use 4GB Can you help me explain the meaning of the following definitions in the DTS file memory { device_type = "memory"; /* * 8 GB of plug-by luo - Debian
In the latest mainline uboot, compile the u-boot-spl.kwb file using the default configuration. Start uboot successfully, but an error is reported when loading the file into memory: U-Boot 2021.10 (Oct 14 2021 - 00:40:12 -0700) SoC: MV78460-B0 at 1600 MHz I2C: ready DRAM: 4 GiB (800 MHz, 64-bit, ECC not enabled) NAND: 0 MiB Loading Environment from SPIFlash... SF: Detected n25q128aby luo - Debian
Compile and generate the u-boot-spl.kwb file using the default configuration of the mainline uboot (version 2017.03), write it to the spiflash and start the log: BootROM 1.20 Booting from SPI flash U-Boot SPL 2017.03 (Oct 13 2021 - 21:01:08) High speed PHY - Version: 2.1.5 (COM-PHY-V20) High speed PHY - Ended Successfully DDR3 Training Sequence - Ver 5.7.4 DDR3 Training Sequence - Nuby luo - Debian
I also reported an error when I read the uboot file from the USB disk maevell:>usb reset resetting USB... Bus usb@50000: USB EHCI 1.00 Bus usb@51000: USB EHCI 1.00 scanning bus usb@50000 for devices... 1 USB Device(s) found scanning bus usb@51000 for devices... 2 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found maevell:>fatls usb 0:1by luo - uBoot
Uboot startup log: U-Boot 2021.10 (Oct 08 2021 - 23:58:07 -0700) SoC: MV78460-B0 at 1600 MHz I2C: ready DRAM: 4 GiB (800 MHz, 64-bit, ECC not enabled) NAND: 0 MiB Loading Environment from SPIFlash... SF: Detected n25q128a13 with page size 256 Bytes, erase size 4 KiB, total 16 MiB *** Warning - bad CRC, using default environment Model: Marvell Armada XP Development Board DB-Mby luo - uBoot
Thank you bodhi The translation software misunderstood my meaning I mean, you help me build a u-boot image (stored on SPI flash) Or you taught me how to build a u-boot image, Or modify it from the existing uboot-spl.kwb file launched from UARTby luo - uBoot
Thank you This is not a box, this is Marvell's development board, model db-mv784mp-gp When I check the armada-xp-db.dts file, there is a comment at the beginning: // SPDX-License-Identifier: (GPL-2.0+ OR MIT) /* * Device Tree file for Marvell Armada XP development board * (DB-MV784MP-GP) * * Copyright (C) 2013-2014 Marvell * * Lior Amsalem <alior@marvell.com> *by luo - uBoot
I saw that this development board is supported on the main line of uboot, but I didn't find the relevant cross compilation tool chain. I wrote a damaged file on the original uboot and can't start it now The development board supports the kwboot tool. The kwboot operation log is as follows, but NAND is not recognized after startup luo@ubuntu:~/boot/1/usr/share/uboot/db-mv784mp-gp$by luo - uBoot
IX2 DL fan control in Debian system: apt-get install fancontrol lm-sensors root@debian:~# pwmconfig # pwmconfig revision $Revision$ ($Date$) This program will search your sensors for pulse width modulation (pwm) controls, and test each one to see if it controls a fan on your motherboard. Note that many motherboards do not have pwm circuitry installed, even if your sensor chip supports pby luo - Debian
Kwboot cannot detect this box. Kwboot reports an error using other non-standard baud rates luo@luo-virtual-machine:~/桌面/kwboot$ sudo chmod 666 /dev/ttyUSB0 luo 的密码: luo@luo-virtual-machine:~/桌面/kwboot$ ./kwboot -t -b uboot+env.bin -p -B 115200 /dev/ttyUSB0 Sending boot message. Please reboot the target.../^C luo@luo-virtual-machine:~/桌面/kwboot$ ./kwboot -t -b uboot+eby luo - Debian
There is a bad block at 0x0, but it can be started __ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_)by luo - Debian
If there is no problem with the uboot partition, try not to move the uboot partition. The root cause is that kwboot does not support IX2 dl I used to brush and write the defective uboot. I had to remove the NAND chip, weld it on the Linksys ea4500, use kwboot to brush and write the backup uboot, and then weld it. The whole process is too troublesomeby luo - Debian
jdwl101 be careful!!! If there is no data in the env partition, uart1 will not be output under uboot. I use a new NAND. If I only brush and write uboot, serial port 1 has no output. I must also write the env partition data You can use WinHex to decompose my shared uboot + env.bin into three files: uboot + env1 + env2 0x0-0x80000:uboot 0x80000-0x10000:env1 0x90000-0x10000:env2 Doby luo - Debian
You can see the IX2 DL official patch file I shared on onedrive The following is my search information under the patch folder luo@luo-virtual-machine:~/ix2-ng-path$ grep -rn 'power' ./ ./linux-feroceon_5_1_3_KW-32-board_setting.patch:59:+ if (pm_power_off) ./linux-feroceon_5_1_3_KW-32-board_setting.patch:60:+ pm_power_off(); ./linux-feroceon_5_1_3_KW-32-board_setting.patch:79:by luo - Debian
hi jdwl101 Did you test the openwrt compilation of IX2 DL successfully? If successful, can you push the patch to openwrt? After all, it is most convenient to download ROM directly from openwrtby luo - Debian
The following is the content of fan control in openwrt system root@OpenWrt:~# vi /etc/init.d/hwmon_fancontrol #!/bin/sh /etc/rc.common START=98 boot() { . /lib/functions.sh #configuring (lm85/lm63) onboard temp/fan controller to run the fan on its own #for more information, please read https://www.kernel.org/doc/Documentation/hwmon/sysfs-interface case $(board_name) in zyxel,by luo - Debian
hi jdwl101 I hope you can make a patch and submit it to openwrt Only official support is the most convenient Sorry, my English depends on translation software to communicate with youby luo - Debian
A little messy, including Debian startup root@OpenWrt:~# fw_printenv baudrate=115200 loads_echo=0 run_diag=yes MALLOC_len=1 ethprime=egiga0 bootargs_end=:::DB88FXX81:eth0:none image_name=uImage kernel_size=0x300000 loadzimage=nand read.e 0x40000 $(kernel_start) $(kernel_size); loadinitrd=nand read.e 0x900000 $(initrd_start) $(initrd_size); standalone=fsload 0x2000000 $(image_name);sby luo - Debian
Take openwrt-19.07 version as an example Download the source code of openwrt ./scripts/feeds update -a ./scripts/feeds install -a Modify the /target/linux/kirkwood/image/makefile file and add the following: define Device/lenovo_ix2_dl DEVICE_TITLE := lenovo ix2-dl DEVICE_DTS := kirkwood-lenovo-ix2-dl-full DEVICE_PACKAGES += kmod-gpio-button-hotplug kmod-i2c-mv64xxx kmod-hwmon-adby luo - Debian
Thank you, bodhi. After installing lm-sensors, I used adt7475 in openwt to modify the path path. Now I can make the fan speed increase with the increase of temperature root@OpenWrt:/# sensors adt7473-i2c-0-2e Adapter: mv64xxx_i2c adapter in1: +1.10 V (min = +0.00 V, max = +2.99 V) in2: +3.35 V (min = +0.00 V, max = +4.39 V) fan1: 2505 RPM (min = 0 RPM)by luo - Debian
Yes, I use hippi-viking's version I modified the DTC file of XX (only the NAND partition) and compiled openwrt-19.07. At present, it runs normally. The LED can be configured on Luci, but I can't write the fan control script. Can you help me? I think the fan script written by adt7473 under Linux can run on different distributions DTC file modification: name the mtd4 partition UBI,by luo - Debian
https://forum.doozan.com/read.php?3,19216,page=2 https://forum.doozan.com/read.php?3,19216,page=3by luo - Debian
linux-feroceon_5_1_3_KW-30-gpio_setting.patch content in my shared patch file: diff -Naur linux-feroceon_5_1_3_KW/arch/arm/mach-feroceon-kw/kw_family/boardEnv/mvBoardEnvSpec.h linux-feroceon_5_1_3_KW_patch/arch/arm/mach-feroceon-kw/kw_family/boardEnv/mvBoardEnvSpec.h --- linux-feroceon_5_1_3_KW/arch/arm/mach-feroceon-kw/kw_family/boardEnv/mvBoardEnvSpec.h 2011-05-05 10:22:27.535269814 +0800by luo - Debian
dmesg root@openmediavault:~# dmesg [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 5.2.9-kirkwood-tld-1 (root@tldDebian) (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)) #1 PREEMPT Sat Aug 17 15:00:56 PDT 2019 [ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f [ 0.000000] CPU: VIVT data cache, VIVT instruction cache [by luo - Debian
The fan and led cannot be controlled. Is there an incorrect configuration in the DTB file? I want to make initrd and rootfs based on the original kernel (2.6.31.8). Can you tell me what to doby luo - Debian
bodhi, thank you. I refer to your tutorial in the forum, use your shared kernel and rootfs, and then install omv5 and transmission-daemon. It is running normally. The startup log is as follows: __ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_|by luo - Debian
Use zImage-5.12.6-kirkwood-tld-1 and kirkwood-lenovo-ix2-dl.dtb to make uimage, but there is no rootfs in the file you share The startup log is as follows: __ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ _by luo - Debian
I see that the synlogy ds212 is the same SOC as this box. I start it with the original kernel and synlogy rd.bin. The log is as follows: Marvell>> tftp 0x40000 kernel Using egiga0 device TFTP from server 10.0.0.10; our IP address is 10.0.0.200 Filename 'kernel'. Load address: 0x40000 Loading: ################################################################# ###by luo - Debian
vmlinuz-4.19.0-17-marvell and initrd.gz is downloaded from http://ftp.debian.org/debian/dists/Debian10.10/main/installer-armel/current/images/kirkwood/netboot/ luo@luo-virtual-machine:~/rd$ cat kirkwood-lenovo-ix2-dl.dtb >> vmlinuz-4.19.0-17-marvell luo@luo-virtual-machine:~/rd$ mkimage -A arm -O linux -T kernel -C none -a 0x80000 -e 0x80000 -n debian-kernel -d vmlinuz-4.19.0-17-marvelby luo - Debian