Jump to content

im_chc

Members
  • Posts

    5
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. @jock I don't know, I found this rockchip document, it said (p.24, in chinese) something like "RK SPI supported in uboot", and points me to this source file: https://github.com/rockchip-linux/u-boot/blob/next-dev/drivers/spi/rk_spi.c In the source the rk32 series SoC mentioned is only rk3288, what do you think? Here is the equivalent in the kernel source (found rk3228 in it): https://github.com/rockchip-linux/kernel/blob/develop-4.4/drivers/spi/spi-rockchip.c All of these might be irrelevant though Btw, I have also tested writing some files to it using rkdeveloptool wl, the next immediate rl seems to be able to dump out the data, but this didn't survive a reboot. Maybe it is only writing to the DDR.
  2. Hi @jock! Recently I do really look into the rockchip docs and try to work on that little dongle toy a bit. And then I look back at my original post, and I realize that at that time I totally didn't know what I was doing At that time, after trying and failing the other rkdeveloptool commands (rfi, ppt etc), I did have execute rkdeveloptool db rk322x_loader_v1.10.256.bin at that time, but I was not aware that these commands would now work after the loader bin file had been loaded, and then I stopped trying. OK, these are what I have tried this time: root@debianvm:~# ./rkdeveloptool/rkdeveloptool ld DevNo=1 Vid=0x2207,Pid=0x320b,LocationID=101 Maskrom root@debianvm:~# ./rkdeveloptool/rkdeveloptool db /home/h__c___g/rk322x_loader_v1.10.256.bin Downloading bootloader succeeded. root@debianvm:~# ./rkdeveloptool/rkdeveloptool ul /home/h__c___g/rk322x_loader_v1.10.256.bin Upgrading loader succeeded. root@debianvm:~# ./rkdeveloptool/rkdeveloptool rfi Flash Info: Manufacturer: SAMSUNG, value=00 Flash Size: 0 MB Flash Size: 0 Sectors Block Size: 512 KB Page Size: 2 KB ECC Bits: 0 Access Time: 40 Flash CS: root@debianvm:~# ./rkdeveloptool/rkdeveloptool rci Chip Info: 41 32 32 33 FF FF FF FF FF FF FF FF FF FF FF FF root@debianvm:~# ./rkdeveloptool/rkdeveloptool rcb Capability:07 00 00 00 00 00 00 00 Direct LBA: enabled Vendor Storage: enabled First 4m Access: enabled Read Com Log: enabled I realize that the Flash Size read 0 mb. I obtain rk322x_loader_v1.10.256.bin by commenting out the rm -f line in the (github) rkbin/scripts/checkpatch.sh file. Maybe the loader firmware did not support SPI? But before I do the ul line, I do try dumping the storage using rkdeveloptool rl 0 xxxxx dump.bin and then strings dump.bin, and nothing comes out; but after I do the ul line, the strings really do spit out many random lines, and I think it is evidence that I can use the rkdeveloptool binary to write bytes to the SPI... Is there any chance for me to make this dongle sort of working by using the rockchip proprietary binaries to pack up the uboot.img, trust.img and boot.img files, and then flash them in?
  3. @jockMind if you take a look?🙏🙇
  4. Hi @jock, it's been a while...I know...😅 Correct me if I'm wrong, if I use an SD card drive for the dongle, does that mean that I can use a uboot and kernel that supports SD cards to boot it up? I mean, just to install uboot and kernel and the distribution to the SD card, ignoring the SPI storage. But there is one more problem, the dongle has only one usb port, and after I plugged in a card drive, there will be no free usb port left for power. Do I need some special cables like those that has one single male connector at one end, and one male connector + one female connector on the other?
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines