Dear bodhi : I have successfully used 850Mhz and 256MB DDR RAM in the spl stage. And you can successfully obtain 256MB of memory during the uboot stage, and then use the go command to execute the uboot elf provided by you on the NAND. After completing the chainload, akitio-stock/omv-arm/debian can be successfully started. Thank you very much for your help and guidance. I will improve theby Popo - Rescue System
The RDA Board image: The RDA board just has 128MB RAM/NAND.by Popo - Rescue System
rayknight Wrote: ------------------------------------------------------- > Perhaps the original DTB has always been wrong? I > have 2 of these devices that I gave up on as I was > having issues getting them to boot and now that I > go back an look at them they both have > STMicroelectronics M41T80 for RTC not the Dallas > 1307. YES ! The OpenWRT wiki is wrong !by Popo - Rescue System
Dear bodhi : Thank you ! I will research and build my own spl/uboot for my requirement. BTW, OMV has been announce OMV 7 for bookworm. Maybe it's a good choice to install to these old machine.by Popo - Rescue System
Dear bodhi : How can I find the source code of uboot.2015.10-tld-2.ox820.bin ? I need to change saveenv area on the NAND, and compile new version uboot. It really almost success to get better result, beside 700MHz to use...(akitio stock spl...)by Popo - Rescue System
So, The finally and finally of lastest way " USE AKITIO SPL (700MHz raw binary format) USE STG-212 UBOOT(NAND ON 0x40000 raw binary format) Stage-1 Bootloader 一 8月 30 10:55:36 CST 2010 Attempting to set PLLA to 700MHz ... plla_ctrl0 : 0x0000000A plla_ctrl1 : 0x000E0000 plla_ctrl2 : 0x001B01A0 plla_ctrl3 : 0x00000016 PLLA Set Setup memory, testing Reading NAND,by Popo - Rescue System
OK, Finally, The lastest way : use akitio stock spl + stock uboot Stage-1 Bootloader 一 8月 30 10:55:36 CST 2010 Attempting to set PLLA to 700MHz ... plla_ctrl0 : 0x0000000A plla_ctrl1 : 0x000E0000 plla_ctrl2 : 0x001B01A0 plla_ctrl3 : 0x00000016 PLLA Set Setup memory, testing Reading NAND, Image 0 Hdr len: 0x0001A0D8 Hdr CRC: 0x330E1A94 OK U-Boot 1.1.2 (Dby Popo - Rescue System
Try another way. Use Stg-212 spl, and akitio stock uboot on NAND Blue: stg-212 spl Green: akitio uboot black : uboot.2015.10-tld-2.ox820.bin nandwrite on 0xA40000 (NAND) Stage-1 Bootloader Tue Aug 9 16:44:00 CST 2011 Attempting to set PLLA to 750MHz ... plla_ctrl0 : 0x0000000A plla_ctrl1 : 0x000F0000 plla_ctrl2 : 0x001D01A0 plla_ctrl3 : 0x00000017 PLLA Set Setup memby Popo - Rescue System
If I boot from SATA... U-Boot SPL 2013.10-g3a0f380-dirty (Jul 26 2014 - 14:31:34) Boot device: SATA Attempting to set PLLA to 850 MHz ... plla_ctrl0 : 0000020a plla_ctrl1 : 00330000 plla_ctrl2 : 0065008b plla_ctrl3 : 000000f1 PLLA Set Bus 0: OK Device 0: ** File not found /boot/bootargs.bin ** U-Boot 2013.10-g3a0f380-dirty (Jul 26 2014 - 10:18:57) for OXNASby Popo - Rescue System
OK, feedback my result of chainload : Use stg-212 spl/uboot on NAND to execute uboot.2015.10-tld-2.ox820.bin Stage-1 Bootloader Tue Aug 9 16:44:00 CST 2011 Attempting to set PLLA to 750MHz ... plla_ctrl0 : 0x0000000A plla_ctrl1 : 0x000F0000 plla_ctrl2 : 0x001D01A0 plla_ctrl3 : 0x00000017 PLLA Set Setup memory, testing Reading NAND, Image 0 Hdr len: 0x0001A94C Hby Popo - Rescue System
Dear bodhi: I don't know how to express my gratitude. Your Excellency has always taken the trouble to give me guidance and support. The resources you provide are very powerful and easy to use. Also rescued many machines that had been turned into bricks. I am serious about saying that I am an IT GUY. Maybe it also has something to do with my zodiac sign. Unless everything is over, I alwaby Popo - Rescue System
Dear bodhi : In case , about this post and this post Where is the u-boot.bin file ? I want to try 'go' command to CHAIN-LOAD your u-boot. Can you explain that ? -- UPDATE: Maybe, It's time to build my own u-boot & kernel to work on may akitio mycloud mini. //sigh .... It seems not easy , after I study and read the source code from github. Conclusioby Popo - Rescue System
bodhi Wrote: ------------------------------------------------------- > > That does not sound right. There must be other > reason. The SPL for the ox820 SoC should use the > same u-boot image format. # file uboot.2015.10-tld-2.ox820.mtd0.img uboot.2015.10-tld-2.ox820.mtd0.img: u-boot legacy uImage, U-Boot 2015.10-tld-2 for ox820 b\270, Firmware/ARM, Firmware Image (Not cby Popo - Rescue System
Another way , The size of uboot.2015.10-tld-2.ox820.mtd0.img that is 512k. I try to dd seek dd if=uboot.2015.10-tld-2.ox820.mtd0.img of=bodhi-uboot.img bs=1 skip=$((16#44EC)) count=$((16#7BB14)) and flash it to 0x40000 on nand. Let me try it ... root@debian:/boot/uboot.2015.10-tld-2.ox820.bodhi# dd if=uboot.2015.10-tld-2.ox820.mtd0.img of=bodhi-uboot.img bs=1 skip=$((16#by Popo - Rescue System
bodhi Wrote: ------------------------------------------------------- > Pogo, > > Have you tried these combos yet? > > - Akitio SPL with > uboot.2015.10-tld-2.ox820.mtd0.img > - STG212 SPL with > uboot.2015.10-tld-2.ox820.mtd0.img > of course that. I flash uboot.2015.10-tld-2.ox820.mtd0.img on NAND in 0x40000. But, as you can see that uboot.2015.10-tlby Popo - Rescue System
Use AkitioSPL to execute stg-212 U-boot Stage-1 Bootloader 一 8月 30 10:55:36 CST 2010 Attempting to set PLLA to 700MHz ... plla_ctrl0 : 0x0000000A plla_ctrl1 : 0x000E0000 plla_ctrl2 : 0x001B01A0 plla_ctrl3 : 0x00000016 PLLA Set Setup memory, testing Reading NAND, Image 0 Hdr len: 0x0001A94C Hdr CRC: 0xF0019DAC OK U-Boot 1.1.2 (Jun 24 2011 - 09:41:57) U-Bby Popo - Rescue System
OK, After an overnight cross test. Let me tell you my conjectures and conclusions. I used three different sources for testing. 1.Akitio Stock Stage-1 spl/U-Boot (I got it from the original mtd0) 2.stg-212 stock firmware about mtd1.backup(spl)/mtd2.backup(u-boot) However, these 3 archives use JEDEC format (? I'm not sure, you can see aa/55 UU encoding in the archives) For theseby Popo - Rescue System
I try nand read from u-boot(raw sector version) it seems just can load 0x3c000(240k) size , over this size will cause fail (nand read fail code -72) the u-boot image has 512k bytes.by Popo - Rescue System
root@debian:/boot/uboot.2015.10-tld-2.ox820.bodhi# flash_erase /dev/mtd0 0x0 7 Erasing 128 Kibyte @ c0000 -- 100 % complete root@debian:/boot/uboot.2015.10-tld-2.ox820.bodhi# nandwrite /dev/mtd0 uboot.spl.2013.10.ox820.850mhz.mtd0.img Writing data to block 0 at offset 0x0 root@debian:/boot/uboot.2015.10-tld-2.ox820.bodhi# nandwrite -s 262144 /dev/mtd0 ../u-boot.img Input file is notby Popo - Rescue System
root@debian:~# hexdump -C /dev/mtd0 00000000 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................| * 026c0000 root@debian:~# hexdump -C /dev/mtd1 00000000 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................| * 0d940000 root@debian:~# dmesg |grep -i bad [ 3.752855] Scanning device for bad blocks root@debian:~# root@debian:~# cat /proc/mtd dev: sby Popo - Rescue System
> > Replace uboot.2015.10-tld-2.ox820.mtd0.img with > the u-boot image that you use to flash HDD raw > sector (I can't remember that image name). Let's > call that u-boot.img. > > > /usr/sbin/nandwrite -s 262144 /dev/mtd0 uboot.img > > > Keep the current SPL on NAND as is. Unfortunately, root@debian:/boot# /usr/sbin/nandwrite -s 2621by Popo - Rescue System
Dear bodhi: Every step I need to make sure/verify the device is working, I do, although I don't post those steps in the article. It is like the SPL does not know where u-boot image is, or it did but cannot start u-boot at all. cat /proc/mtd <-- I did dmesg | grep -i bad <-- I did fw_printenv > current_ens.txt <-- the original stock firmware have no env data nanddumby Popo - Rescue System
Dear bodhi: I try to flash MTD but it bricks. first time I boot my machine plug hdd/usb second time I boot my machine unplug hdd/usb third time I boot my machine just usb plug. But, no lucky, it bricks. U-Boot SPL 2013.10-tld-4 (Sep 07 2014 - 14:10:12) Boot device: NAND Attempting to set PLLA to 850 MHz ... plla_ctrl0 : 0000020a plla_ctrl1 : 00330000 plla_ctrl2 : 00650by Popo - Rescue System
> with Oracle Java8. Running openjdk11-headless is > working, but pretty slow and CPU hungry! Running > Debian 11 now, so going back to an older version > and trying again will be my task for tomorrow > then. It's really crazy, if only I would come > across my self compiled build from 2015 to check > everything again... :-/ It's like the device don't >by Popo - Rescue System
Dear Bodhi: This is what I am thinking about, whether I can get a better solution by changing the methods and paths. Anyway, I no longer care about MTD, or how to do NAND partitioning. In any case, there is no doubt that any software version of PogoPlugV3 can solve the "Boot Kernel" problem. Even so, we can achieve the NAND partitioning method I want through dtb modification andby Popo - Rescue System
First Time to install OMV It will hang on install locale package, It's normal, don't do anything. After Installation and auto reboot. you can login into Web GUI. Starting kernel ... Uncompressing Linux........................................................................................................................................................ done, booting theby Popo - Rescue System
OMV (OpenMediaVault) installation guide We have use oxnas_sata_boot.tar to help us to guiding omv boot & install oxnas_sata_boot.tar Operate fdisk and set hdd to dos-compatible mode , create 2 partition. partition1 : /dev/sdX1 - primary partition at start sector must be align 2048 and about 10M size. (Don't format to) partition2 : /dev/sdX2 - whatever to create for size you wby Popo - Rescue System
Yes, bodhi: You can see the last post about openWRT and 'printenv', I had fix the env value. I always setenv by quato '' and never use 'copy-paste' (since i found sometimes has garbage word) so , I type all of the string slowly. Reboot after fix , the same situation. Update: I also use hexdump to check u-boot.env file to ensure that is clear and pure...by Popo - Rescue System
OK, I have already tesing OpenWRT done. so frustration , it seems an older issue for booting. U-Boot SPL 2013.10-g3a0f380-dirty (Jul 26 2014 - 14:31:34) Boot device: SATA Attempting to set PLLA to 850 MHz ... plla_ctrl0 : 0000020a plla_ctrl1 : 00330000 plla_ctrl2 : 0065008b plla_ctrl3 : 000000f1 PLLA Set Bus 0: OK Device 0: ** File not found /boot/bootargs.bin **by Popo - Rescue System
bootargs=root=LABEL=rootfs rootfstype=ext3 console=ttyS0,115200 mem=256M mtdparts=mtdparts=41000000.nand:0x26c0000@0x0(boot),-(rootfs) it will reassign by ide_set_bootargs=setenv bootargs root=LABEL=rootfs rootfstype=ext3 console=ttyS0,115200 mem=256M $mtdparts so, no matter ...it's not the root cause.:_by Popo - Rescue System