Re: UART Boot DNS-320 B1 with broken NAND March 07, 2019 03:49AM |
Registered: 6 years ago Posts: 77 |
Re: UART Boot DNS-320 B1 with broken NAND March 07, 2019 03:57AM |
Admin Registered: 13 years ago Posts: 18,997 |
Re: UART Boot DNS-320 B1 with broken NAND March 07, 2019 04:05AM |
Admin Registered: 13 years ago Posts: 18,997 |
Re: UART Boot DNS-320 B1 with broken NAND March 07, 2019 04:12AM |
Registered: 6 years ago Posts: 77 |
Re: UART Boot DNS-320 B1 with broken NAND March 07, 2019 04:22AM |
Admin Registered: 13 years ago Posts: 18,997 |
Re: UART Boot DNS-320 B1 with broken NAND March 07, 2019 04:31AM |
Registered: 6 years ago Posts: 77 |
Re: UART Boot DNS-320 B1 with broken NAND March 07, 2019 04:51AM |
Registered: 6 years ago Posts: 77 |
Re: UART Boot DNS-320 B1 with broken NAND March 07, 2019 04:52AM |
Admin Registered: 13 years ago Posts: 18,997 |
Re: UART Boot DNS-320 B1 with broken NAND March 07, 2019 04:56AM |
Admin Registered: 13 years ago Posts: 18,997 |
Re: UART Boot DNS-320 B1 with broken NAND March 07, 2019 05:01AM |
Registered: 6 years ago Posts: 77 |
The bootROM tries to boot from four types of NAND flash devices four times (a total of 16 times). The first eight trials are performed with ECC calculation and the last eight trials are performed skipping ECC correction. A NAND flash reset (using the command 0xFF) is performed before each boot trial.
Boot from UART0 As previously indicated, boot from UART0 is not a sample at reset configuration option, but is performed before every type of boot through sensing the Rx side of the UART0 interface on both MPP options. If the debug pattern (0xDD 0x11 0x22 0x33 0x44 0x55 0x66 0x77) was received, the bootROM enters the command line debug mode. Otherwise, if the boot sequence (0xBB 0x11 0x22 0x33 0x44 0x55 0x66 0x77) was received, the bootROM enters the Boot from UART routine, which starts receiving the boot image using the Xmodem protocol (i.e., it starts receiving chunks of 128 bytes, each with an 8-bit checksum). The boot image must be a continuous image, which includes a main header and an extension header (extended header is mandatory in this case, since the DDR must be initialized).The main header, extension header, and source image must contain valid checksum values. According to the boot sequence described above, this boot method: 1.Executes the registers configuration in the extended header. 2.Downloads the source image to DDR. 3.Executes it in the DDR.
Re: UART Boot DNS-320 B1 with broken NAND March 07, 2019 01:44PM |
Admin Registered: 13 years ago Posts: 18,997 |
Quote
https://forum.doozan.com/read.php?2,32146
A2. Installation
.....
1. Start kwboot on the serial console host
For ARM32 kwboot:
./kwboot -t -B 115200 /dev/ttyUSB0 -d
Re: UART Boot DNS-320 B1 with broken NAND March 08, 2019 04:58AM |
Registered: 6 years ago Posts: 77 |
Re: UART Boot DNS-320 B1 with broken NAND March 08, 2019 05:24AM |
Admin Registered: 13 years ago Posts: 18,997 |
> root@debian:/dns-320l# kwboot -t -B 115200 > /dev/ttyUSB0 -d > Sending debug message. Please reboot the > target.../ > [Type Ctrl-\ + c to quit] > > >
Re: UART Boot DNS-320 B1 with broken NAND March 08, 2019 06:16AM |
Registered: 6 years ago Posts: 77 |
Re: UART Boot DNS-320 B1 with broken NAND March 08, 2019 07:44PM |
Admin Registered: 13 years ago Posts: 18,997 |
Re: UART Boot DNS-320 B1 with broken NAND March 11, 2019 12:51PM |
Registered: 6 years ago Posts: 77 |
Re: UART Boot DNS-320 B1 with broken NAND March 11, 2019 05:00PM |
Admin Registered: 13 years ago Posts: 18,997 |
reostatic
Re: UART Boot DNS-320 B1 with broken NAND April 03, 2019 01:15AM |
AmiGaGa
Re: UART Boot DNS-320 B1 with broken NAND October 28, 2021 06:48PM |
Re: UART Boot DNS-320 B1 with broken NAND October 28, 2021 10:05PM |
Admin Registered: 13 years ago Posts: 18,997 |
Re: UART Boot DNS-320 B1 with broken NAND October 29, 2021 03:51AM |
Registered: 6 years ago Posts: 77 |
Re: UART Boot DNS-320 B1 with broken NAND May 20, 2023 09:41AM |
Registered: 1 year ago Posts: 2 |
Re: UART Boot DNS-320 B1 with broken NAND May 20, 2023 03:19PM |
Admin Registered: 13 years ago Posts: 18,997 |
Re: UART Boot DNS-320 B1 with broken NAND July 09, 2023 06:02PM |
Registered: 1 year ago Posts: 2 |
Re: UART Boot DNS-320 B1 with broken NAND July 09, 2023 11:05PM |
Admin Registered: 13 years ago Posts: 18,997 |
Quote
This one fixed the boot loader, but as i'm not able to interrupt the bootloader in kwboot i decided to continue for all 7.
usb start
ext2load usb 0:1 0x6400000 /mtd0
nand erase 0x0 0x100000
nand write.e 0x6400000 0x0 0x100000
printenv
setenv ethaddr xx.xx.xx.xx.xx
0x000007900000-0x000007e00000 : "config"