bodhi Wrote: ------------------------------------------------------- > dtd and vzhilov, > > I lost track of this thread. When I released > kernel 5.6.9, I forgot all about this box! > > Are you guys using the same DTS now? Hi bodhi, sorry for late reply. I have just take a look at both DTS files from me and vzhilov, there are only minor differences between them. Onby dtd.2512 - Debian
Hi vzhilov, your work is interesting. Could you tell me the average Read/Write speed when LUKS is used (e.g. with scp, ftp). Many thanks.by dtd.2512 - Debian
Quotebodhi Don't use dd to flash binary to NAND flash. nand write should be used whether in u-boot or in Debian. For NAND, dd most the time it is OK, but use nand write any way to be foolproof. For SPI flash, never to use dd in Linux, must use flashcp. Thanks for your useful information.by dtd.2512 - Debian
I think you got confused between NAND and memory. usb start fatload usb 0:1 0xa00000 uImage fatload usb 0:1 0x2000020 uInitrd bootm 0xa00000 0x2000020 This will load uImage from USB into memory at address 0xa00000 and uInitrd at address 0x2000020. Then it will start to boot (bootm = boot from memory) Quotevzhilov But if I reboot and put just: bootm 0xa00000 0x2000020 assuming the imaby dtd.2512 - Debian
With your kernel config, I just built an uImage less than 5MB and successfully boot it without USB or repartition mtdparts. The only thing I changed was "bootcmd" variable as following, also stock "bootcmd" at 0xa00000 0xf00000 does not work. setenv bootcmd 'nand read.e 0x02000020 0x0500000 0x0500000; nand read.e 0x2900000 0x0a00000 0x0500000; bootm 0x02000020 0x290000by dtd.2512 - Debian
Hi vzhilov, QuoteDoes it mean that Kernel is still too big? Or I need to make uRamdisk smaller? Or the only solution is to patch the U-Boot? I currently don't have enough time to find out what exactly it is, but there is another discussion about the same problem in the forum. Take a look at here, maybe you can fix it, I would be glad to hear back from you. https://forum.doozan.com/reaby dtd.2512 - Debian
Hi bodhi, I used the patch from Evgeny Kolesnikov with some minor modifications to make the DTS file for my Ex2 Ultra https://lkml.org/lkml/2019/7/22/1053 Just build it with your 5.5.3 kernel and boot the new uImage from USB. Many thanks to your work.by dtd.2512 - Debian
Hi vzhilov, if you want to avoid using USB drive for booting you can repartition your mtd table so that your uImage space will be fitted with kernel 5.5 (usually bigger than 5MB). Don't forget to change the partitions in your dts file. #: name size offset mask_flags 0: u-boot 0x000000500000 0x000000000000 1 1: uImage 0x0by dtd.2512 - Debian