yep, i did it with nand write but it is a rootfs backup from what i understand (tarred with lzma), so i am going to try recreating the UBIFSby alxvt - uBoot
I spoke too early.. NAND read: device 0 offset 0x800000, size 0x400000 4194304 bytes read: OK ## Booting kernel from Legacy Image at 02000000 ... Image Name: Linux-4.4.184.armada.1 Created: 2019-09-05 2:39:22 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3469696 Bytes = 3.3 MiB Load Address: 00008000 Entry Point: 00008000 Verifyiby alxvt - uBoot
YES YES YES!!! It worked, i am now into ReadyNas OS again.. Well, this was a hell of a learning curve i guess.. Bodhi, thank you so much for your assistance!by alxvt - uBoot
Marvell>> mtdparts device nand0 <armada-nand>, # parts = 5 #: name size offset mask_flags 0: u-boot 0x000000180000 0x000000000000 0 1: u-boot-env 0x000000020000 0x000000180000 0 2: uImage 0x000000600000 0x000000200000 0 3: minirootfs 0x000000400000 0x000000800000 0 4: ubifs 0x000007400000 0x000000c000by alxvt - uBoot
i made progress.. I found that the RTC chip IRQ2 line was triggering the power off after few seconds, interrupting my kwboot transfer. When i manually tied this line to GND i was able to complete the transfer and boot u_boot. I then copied and wrote into mtd0 the original uboot from netgear. I am currently able to boot from nand every time i power on but then the other mtd parts are still mby alxvt - uBoot
Quick update: I am still investigating on this and found this from Barebox.org which talks about the uart booting of this board: Quote The mvebu SoCs support booting from UART. For this there is a tool available in barebox called kwboot. Quite some mvebu boards are reset once more when they already started to read the first block of the image to boot which obviously results in a failure to booby alxvt - uBoot
Bodhi, i did that but the result is strange (to me at least). alxvt@XPS15-9530:~/u-boot-v2019.10$ ./tools/kwboot -t /dev/ttyUSB0 -b u-boot-spl.kwb Sending boot message. Please reboot the target...\ Sending boot image... 0 % [......................................................................] 1 % [......................................................................] 2 % [.by alxvt - uBoot
Bodhi, thanks a lot for helping. I am recompiling u-boot mainline right now using db-mv784mp-gp_defconfig. Should i set the boot method to UART in menuconfig? standard is SPI NOR flash Sandroby alxvt - uBoot
Hello Everyone, i hope someone can help me.. I was playing (yes.. my bad) with my RN2120v2 u_boot and kernel image to see if i could update debian to a more recent version, the ultimate goal was to install Nextcloud on this hardware, and somehow i bricked everything. It all happened when trying to erase the mtd partitions i typed .chip instead of the one for the partition. (it was late night..by alxvt - uBoot