Quantcast
Channel: Linux Device Hacking
Viewing all articles
Browse latest Browse all 3247

marvell development board (DB-MV784MP-GP) damaged uboot (8 replies)

$
0
0
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$ kwboot -t -d -b u-boot-spl.kwb -B 115200 /dev/ttyUSB0 -p
Sending debug message. Please reboot the target...\
Sending boot image...
  0 % [......................................................................]
  1 % [......................................................................]
  2 % [......................................................................]
  4 % [......................................................................]
  5 % [......................................................................]
  6 % [......................................................................]
  8 % [......................................................................]
  9 % [......................................................................]
 10 % [......................................................................]
 12 % [......................................................................]
 13 % [...................................................................
U-Boot SPL 2021.10 (Oct 04 2021 - 00:00:00 +0000)
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 - Number of DIMMs detected: 1
DDR3 Training Sequence - Ended Successfully
Trying to boot from BOOTROM
Returning to BootROM (return address 0xffff0aa0)...
...]
 14 % [......................................................................]
 16 % [......................................................................]
 17 % [......................................................................]
 19 % [......................................................................]
 20 % [......................................................................]
 21 % [......................................................................]
 23 % [......................................................................]
 24 % [......................................................................]
 25 % [......................................................................]
 27 % [......................................................................]
 28 % [......................................................................]
 29 % [......................................................................]
 31 % [......................................................................]
 32 % [......................................................................]
 33 % [......................................................................]
 35 % [......................................................................]
 36 % [......................................................................]
 38 % [......................................................................]
 39 % [......................................................................]
 40 % [......................................................................]
 42 % [......................................................................]
 43 % [......................................................................]
 44 % [......................................................................]
 46 % [......................................................................]
 47 % [......................................................................]
 48 % [......................................................................]
 50 % [......................................................................]
 51 % [......................................................................]
 52 % [......................................................................]
 54 % [......................................................................]
 55 % [......................................................................]
 57 % [......................................................................]
 58 % [......................................................................]
 59 % [......................................................................]
 61 % [......................................................................]
 62 % [......................................................................]
 63 % [......................................................................]
 65 % [......................................................................]
 66 % [......................................................................]
 67 % [......................................................................]
 69 % [......................................................................]
 70 % [......................................................................]
 72 % [......................................................................]
 73 % [......................................................................]
 74 % [......................................................................]
 76 % [......................................................................]
 77 % [......................................................................]
 78 % [......................................................................]
 80 % [......................................................................]
 81 % [......................................................................]
 82 % [......................................................................]
 84 % [......................................................................]
 85 % [......................................................................]
 86 % [......................................................................]
 88 % [......................................................................]
 89 % [......................................................................]
 91 % [......................................................................]
 92 % [......................................................................]
 93 % [......................................................................]
 95 % [......................................................................]
 96 % [......................................................................]
 97 % [......................................................................]
 99 % [............................................]
[Type Ctrl-\ + c to quit]
?

U-Boot 2021.10 (Oct 04 2021 - 00:00:00 +0000)

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-MV784MP-GP
Board: Marvell DB-MV784MP-GP
Net:   
Error: ethernet@70000 address not set.

Error: ethernet@74000 address not set.

Error: ethernet@30000 address not set.

Error: ethernet@34000 address not set.
No ethernet found.

=>


The uboot file I used is the u-boot-spl.kwb extracted from the uboot-images-armv7-2021.10-1.fc36.noarch.rpm filehttp://rpmfind.net/linux/rpm2html/search.php?query=uboot-images-armv7

I want to recover the damaged uboot file on SPI flash. How should I make the uboot file

Viewing all articles
Browse latest Browse all 3247

Trending Articles