Hi community. I have a Lyra Plus B with W25N02 flash chip soldered, and I would like to get more to fit in more data for my project. I plan to run a minimal GUI Linux distro on it, while still having the micro SD slot open for user data storage.
I tried the brute force way of removing the flash chip with a GD5F4GM8UEYIGR chip, but it doesn't work.
After a bit of Googling, I came across this post: https://forums.luckfox.com/viewtopic.php?t=2582, and I met the same Prepare IDB Fail error.
With stock miniloaderall shipped with SDK 202508, I was able to read flash ID and flash info. It reports 0MB of capacity, but also reports 512kB block size and 1024 blocks.
As I do not have access to Rockchip Redmine, I can't get access to the latest flash support list. An archived version found here: https://github.com/as-jackson/Rockchip- ... 240326.pdf shows support for GD5F4GM8 family on RK3576, which the other forum post listed above claims to be similar to RK3506.
I can confirm that the u-boot and kernel shipped with SDK 202508 both support GD5F4GM8 family as shown in the following files:
u-boot support can be found here: sdk/u-boot/drivers/mtd/nand/spi/gigadevice.c
kernel support can be found here: sdk/kernel/drivers/mtd/nand/spi/gigadevice.c
Which makes me believe it is a low level (maybe miniloader-level) support issue. Again, as I don't have access to Rockchip Redmine, I was not able to acquire the latest miniloader.
I dug a bit deeper into rkbin folder, I was able to find string literals "GD5F4GM8UE" and "GD5F4GM8RE" at sdk/rkbin/bin/rk35/rk3506_spl_v1.10, this indicates the shipped SPL actually supports those chips. However, the same literals are nowhere to be found in miniloaderall.bin.
Please help if you can confirm GD5F4GM8 family can be used with RK3506G2, and if so, how to get it to work. Thanks in advance.
