Unfortunately i never got it to work without a serial Connection to send the Boot File or freezing the Nand. Even though bodhi was a great Help. Thank you for that btw. Both my DNS-320 are now not existent anymore :(by Ironaxe - uBoot
So. Do we have any more options?by Ironaxe - uBoot
Schematics would bei nice ^^ Would love to replace the Nand with SPI Flash.by Ironaxe - uBoot
No timeout after 15 Minutes ^^ Just the input Prompt. root@debian:/dns-320l# kwboot -t -B 115200 /dev/ttyUSB0 -d Sending debug message. Please reboot the target.../ >by Ironaxe - uBoot
Maybe i should disable ECC to try. Ok. Not nessessary. 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. Maybe could it be helpfulby Ironaxe - uBoot
Im just trying to check my mtd0.dns-320 File against the Data found in the 88F6192 Functional Diagram ( 24.2.4.1Main Header Format )by Ironaxe - uBoot
bodhi Wrote: ------------------------------------------------------- > Or may be the reset pins were damaged when you > replace NAND so it default to SPI? When ive put back in the Original NAND it booted up ( with the freezing ) so i would guess its possibly not that.by Ironaxe - uBoot
bodhi Wrote: ------------------------------------------------------- > May be you should try the compress air again on > this NAND :) Tried that without luck ^^by Ironaxe - uBoot
Ok. Then "unfortunately" it is right :(by Ironaxe - uBoot
Thats a little too high for me ^^ But 101 = 5 is right *lol* But does the 6182 equals the 6702 ? According to the "so called" Datasheet it aint got SPI but the LaCie Cloud Box has SPI Flash with this CPUby Ironaxe - uBoot
Marvell>> SatR Usage: SatR - sample at reset sub-system, relevent for DB only Marvell>> SatR list bootsrc Usage: SatR - sample at reset sub-system, relevent for DB only Marvell>> md 0xF1010030 f1010030: 00e2d26e 00000001 00000001 00000000 n............... f1010040: 00000000 00000000 00000000 00000000 ................ f1010050: 003b9f43 00000000 0000000by Ironaxe - uBoot
** MARVELL BOARD: DB-88F6702A-BP LE U-Boot 1.1.4 (Apr 19 2012 - 11:21:19) Marvell version: 3.6.0.DNS-320B.01 U-Boot code: 00600000 -> 0067FFF0 BSS: -> 006CFB00 Soc: 88F6702 A1 CPU running @ 1000Mhz L2 running @ 500Mhz SysClock = 400Mhz , TClock = 166Mhz DRAM (DDR2) CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6 DRAM CS[0] base 0x00000000 size 128MB DRAM Total size 128MB 1by Ironaxe - uBoot
That worked. In Fact the mtd0.dns-320-short im using for kwboot is only 472k the rest of the original 1M file is filled with 00. ** MARVELL BOARD: DB-88F6702A-BP LE U-Boot 1.1.4 (Apr 19 2012 - 11:21:19) Marvell version: 3.6.0.DNS-320B.01 U-Boot code: 00600000 -> 0067FFF0 BSS: -> 006CFB00 Soc: 88F6702 A1 CPU running @ 1000Mhz L2 running @ 500Mhz SysClock = 400Mhz , TClockby Ironaxe - uBoot
Gives me an Error :( Marvell>> printenv bootargs=root=/dev/ram console=ttyS0,115200 :::DB88FXX81:egiga0:none baudrate=115200 loads_echo=0 serverip=2.66.66.32 rootpath=/srv/ubuntu netmask=255.255.255.0 run_diag=yes console=console=ttyS0,115200 mtdparts=nand_mtd:0xc0000@0(uboot)ro,0x7f00000@0x100000(root) MALLOC_len=1 ethprime=egiga0 bootargs_root=root=/dev/nfs rw bootargs_enby Ironaxe - uBoot
Seems to crash while reading. U-Boot 1.1.4 (Apr 19 2012 - 11:21:19) Marvell version: 3.6.0.DNS-320B.01 U-Boot code: 00600000 -> 0067FFF0 BSS: -> 006CFB00 Soc: 88F6702 A1 CPU running @ 1000Mhz L2 running @ 500Mhz SysClock = 400Mhz , TClock = 166Mhz DRAM (DDR2) CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6 DRAM CS[0] base 0x00000000 size 128MB DRAM Total size 128MB 16bit widby Ironaxe - uBoot
Strange thing is why does it work with the original NAND ( despite the fact that the Chip needs freezing to Boot ) But not with the new one of exactly the same Type/Name/size? When flashing obviously seems to work?by Ironaxe - uBoot
Still no luck with booting uboot on its own.by Ironaxe - uBoot
We tried to flash mtd0.dns-320 which is 1MB ( 1.048.576 Bytes ) So far im just using the mtd0.dns-320-short for a faster kwboot ^^ Size is just 475,2 kB ( 475.216 Bytes ) > You can tell I already forgotten what progress we've made! too many things on the brain cells :)) I hear ya on this one ^^ Edit: Post from Page 3 ^^ https://forum.doozan.com/read.php?3,69499,74029#msgby Ironaxe - uBoot
Hi. Done that: root@debian:/dns-320l/uboot# kwboot -t -B 115200 /dev/ttyUSB0 -b mtd0.dns-320-short -p Sending boot message. Please reboot the target...| Sending boot image... 0 % [......................................................................] 1 % [......................................................................] ..... 99 % [...] ** MARVELL BOARD: DB-88F67by Ironaxe - uBoot
Have been really busy lately, so not much time to have a look into the source. You got some hints where to start?by Ironaxe - uBoot
Ok. I just downloaded a copy. You can get it hereby Ironaxe - uBoot
Any ideas? What i dont get, the Nand seems to work. Loading the Kernel from Nand works. So why does it refuse to boot U-Boot from Nand? Maybe Nand serial bond to CPU? Got no clue..... Btw. Would it help to get the GPL Source as a Linux Noob ?? :)by Ironaxe - uBoot
Unfortunately still the same...:( root@debian:/dns-320l/uboot# kwboot -t -B 115200 /dev/ttyUSB0 -b mtd0.dns-320-short -p Sending boot message. Please reboot the target...- Sending boot image... 0 % [......................................................................] ..... 99 % [...] ** MARVELL BOARD: DB-88F6702A-BP LE U-Boot 1.1.4 (Apr 19 2012 - 11:21:19) Marvell versby Ironaxe - uBoot
OK, but when i set "our" Envs, and do a saveenv command, it schould load the Envs i just set up and saved to NAND. But that does not happen, according to printenvby Ironaxe - uBoot
It seems to me, that every time i restart the Box, the Envs get reset to defaults or the Envs that are Hardcoded inside the mtd0.dns-320 File.by Ironaxe - uBoot
Unfortunately still not working :( root@debian:/dns-320l/uboot# kwboot -t -B 115200 /dev/ttyUSB0 -b mtd0.dns-320l -p Sending boot message. Please reboot the target.../ Sending boot image... 0 % [......................................................................] ..... 99 % [......................................................] ** MARVELL BOARD: DB-88F6702A-BP LE U-Bby Ironaxe - uBoot
Problem is, the "Good" Box has the Bad NAND ( needs freezing or kwboot to boot ) and had ( The last few Days ) the New NAND Chip. To test the Stock OS / and get another Dump i needed to swap the NAND Chips again. ^^ ( Can do this maximum one more Time till the Pads on the PCB break ) The "Broken" Box has no NAND atm, but can be kwboot'ed So probably the best way woby Ironaxe - uBoot
Yea. Both Boxes are the same Model and Revision.by Ironaxe - uBoot