Jump to content

Wester_Minsk

Members
  • Posts

    33
  • Joined

  • Last visited

Posts posted by Wester_Minsk

  1. 12 минут назад, jock сказал:

    Not that one, but multitool for rk3318 has been updated as well with the same enhancements.

    You can download it from the first page of this thread.

     

    (I didn't had the chance to test the rk3318 version, but if you feel confident you can try it and report :) )

    Multitool over SSH worked great!!
    It took me 5 minutes to install in emmc.
    Thank you very much!

  2. 4 часа назад, jock сказал:

    Much better, I totally forgot about nand-sata-install script, mostly because I never tested it on rk3318 boards :)

     

    I have done the migration to SSD several times. It works well.
    I also noticed that armbian-config started to work incorrectly. As I understand it, the path to the folder with scripts has changed, it does not work to change the language or region. I think this is a solvable problem.

    Otherwise, everything is OK! :) 🍺

     

  3. I have done a lot of hardware tests to start with USB 3 on my RK3318 board
    result:
    I have 3 usb 3.0 to sata controllers, only one worked on my board via usb 3, on the core 5.12.2. But at the same time, after migrating from eMMC to SSD, this controller loaded the system poorly, I had to switch to hot so that u-boot could see the system partition. I connected another controller, u-boot reads it perfectly and the system starts stably.

    At the moment, I have a confident start with usb3 ports, and continue testing.

  4. 6 минут назад, jock сказал:

    Well not just the kernel, but the whole rootfs must sit on SSD.

    Plus if you cloned you sdcard on SSD, both sdcard rootfs and SSD rootfs have the same UUID, and this may confuse the kernel about which rootfs use at boot.

    This is pretty normal if you think about it: how does the kernel can know if you want to boot from sdcard or boot from SSD when both contain the same bootable system?

    The rootfs UUID is specified in /boot/armbianEnv.txt.

     

    There are several approaches:

    • You clone the sdcard on SSD, then you remove the rootfs partition from the sdcard
    • Install just the bootloader on the eMMC erasing the eMMC and then copying the first 4 megabytes of the sdcard (/dev/mmblk0) on the eMMC (/dev/mmcblk2)
    • Change the UUID of the sdcard rootfs, but this will prevent the sdcard rootfs from full boot

    The most clean approach is #2, taking in account that you should not plug both sdcard and SSD at the same time when the same cloned filesystem is on them for the usual UUID reason of above.

    Thank you.

    I will work with it.

  5. 5 часов назад, curse сказал:

    Correct me if I'm wrong. But you want to run the system from a USB3 SSD?

    If so, I think the easiest would be to just have the boot on eMMC or SD-card, and the rest of the system on the SSD, then "almost" everything would be running from the fast SSD.

    You understood correctly.  I see it like this: U-boot (no kernel) with sd/emmc , kernel on SSD.

  6. a few tests on cpu 1000

    https://storage.jamesachambers.com/

         Category                  Test                      Result
    HDParm                    Disk Read                 290.29 MB/s
    HDParm                    Cached Disk Read          256.37 MB/s
    DD                        Disk Write                90.2 MB/s
    FIO                       4k random read            12256 IOPS (49024 KB/s)
    FIO                       4k random write           5804 IOPS (23219 KB/s)
    IOZone                    4k read                   26091 KB/s
    IOZone                    4k write                  16847 KB/s
    IOZone                    4k random read            16587 KB/s
    IOZone                    4k random write           24202 KB/s

                              Score: 5507

    my raspberry have 7,590

    if up cpu is on the board, the result will be about with pi4

  7. 9 часов назад, fabiobassa сказал:

    @Wester_Minsk
     


    I suppose you want to build a uboot for supporting booting from usb3 .
    This isn't a simple task and if it was simple,  somebody else already could had done for all of us. It is needed deep knowledge of processes undergoing the compilation and the modding of c sources. It isn't just a flag " boot from usb3..." but a chain on changes to do to the code, if someone already has written a code for it

    By the way here is the link
    https://github.com/rockchip-linux/u-boot

    but then don't ask for assistance in what when and where apply patch since if this infos were clear and well known uboot already had have usb3 support.

    But you really welcome to study and share your results

    Thanks for the link!
    A very interesting topic for me.
    Jokingly speaking - "@ I have "Windows" of the brain."
    I've been goofing around in xp,7,10 for 25 years. Linux is difficult for me so far, but I'm trying and moving a little.

    I've done some experiments. 1 was successful.
    I erased the eMMC, burned the image to SD and deleted the USR and VAR folders from it and inserted it into the board. Then I recorded the same image on an SSD and connected it to USB 3. The system started and works very well and quickly until the first reboot, then u-boot no longer sees the kernel on the SSD:

    Скрытый текст

    20220115_211352.thumb.jpg.30aae4d3a9c75b008f24f6d2006f76d8.jpg

    After overwriting the SD and SSD images, the system starts again.

    Can such a method be workable?

    Maybe you can build an image with a u-boot without a kernel?
    I'll continue the tests.
    If this is a lot of work for you, then I'll try again.

  8. 13.01.2022 в 14:42, jock сказал:

    Of course, you need u-boot installed in emmc or sdcard to boot from USB.

    AFAIK no rockchip chips are able to boot from USB on their own, just eMMC, NAND (<- not the rk33x8 case) or sdcard

    I still can't build a  u-boot image for our boards myself, tell me where can I download it?

    or share a link to a simple instruction.

    thank you

  9. 1 минуту назад, jock сказал:

    You have to ask u-boot people about. Honestly I don't know the current state of USB 3 port in u-boot, I didn't go deep into the matter.

    It is strange it does not even work in USB2 mode, maybe there is something missing from the dtb but cannot be sure about.

     

    I was able to start the system from USB 2 today only if I didn't do eMMC erasure.

     

  10. To my luck, on the 5.15.2 kernel, the USB 3.0 port is working stably. On older kernels, USB 3.0 didn't work on my board.
    I was able to enable SSD Disk on port 3.0 and started SMB server on it.

    Скрытый текст

    1512767786_Screenshot2022-01-12205403.jpg.880328bbe0937fb768aba2e71825e415.jpg

    It remains only to dream about starting the system with a USB 3.0 port. Maybe there are some beta releases to start with USB 3.0?

  11. 7 минут назад, jock сказал:

     

    USB3 driver is what it is, I guess all rk3328 boards have same or similar issues. 🤷‍♂️

     


    I put the image again - Armbian 21.11 - Debian Bullseye desktop [xfce] - mainline kernel 5.15.2
    Did not do: upgrades and rk3318 parameters.
    Stable operation.
    USB 3.0 works, except USB SSD.
    I will continue testing.

  12. 18 часов назад, jock сказал:

    That is strange, I see v1.16 (yours) is in use for the armbian image.

     

    I tested the 5.15.2 kernel , got an interesting result:

     

    There is a good start with emmc.
    The 5.15.5 kernel update has been installed
    USB 3.0 is working,

    The SDcard speed via USB 3.0 reader is not bad:

    Скрытый текст

    20220110_135148.thumb.jpg.6a67c2c89b80d6b05495ae042f5328f2.jpg

     


    Problems:
    1. The board starts badly with emmc after reboot. Starts only after: start multitool - reboot multitool - remove microsd 
    The startup problem appears after setting the parameters: *rk3318-box-emmc-hc200 *rk3318-box-emc-dr.
    Maybe the problem is a bad voltage?
    Starting with a Microsd card slot, no problem.
    2. USB 3.0 port does not see SSD disk partitions via USB 3.0 adapter.
    3. After several restarts:
    - The USB 3.0 port has stopped working.
    - All parameters of RK3318 disappeared in armbian-config
    - Script rk3318-config.sh starts, but the parameters are not activated after reboot.
    - The problem of starting with emmc after reboot has gone away.

     

    p/s Is it good to have a working USB 3.0? what do you think?

    Give me a hint, I want to try to work with this, but I have little knowledge for this.

     

  13. Hello.
    Thank you very much for the Image with ddrbin from my board.

    Stable work in eMMC for 3+ months on Linux 5.10.64 kernel.

    There are 2 problems:

    1. When working in Multitool for a long time, the board freezes. For example, when restoring a backup. This process takes 10+ minutes and never reaches 100%. I believe Multitool is using the wrong ddbin.
    How to fix it?

    What other options are there to write a backup image to eMMC?

    2. On new images with kernel 5.15.2, my board freezes, I believe that my ddrbin is not there.
    Please give instructions on how to integrate my ddrbin into the new kernel.

  14. 14 hours up time on eMMC, with  Doker +HA + Pihole load. 

    At the beginning there was one freeze, after which I removed the parameter "rk3318-box-emmc-hc200"  from the armbian-config. 

    Then it works stably. 

    This is already much better than it was, the changes are obvious. 

    I will pick up a good sdcard, and start from it to eliminate the eMMC problem and continue testing. 

  15. 37 минут назад, fabiobassa сказал:

    @Wester_Minsk

    ch340 should be ok. Remember the speed of rockchip is NON STANDARD at 1500000, yes 1 million 500000 !
    It will be interesting :
    full bootlog of android
    full bootlog  with sd inserted but android still present in eemc

    full bootlog of armbian in emmc

    full bootlog of armbian in emmc plus sd inserted

    In few words the most case we have, the better understanding of things !


     

    I'll try to figure it out.

    Give me a hint, how to read these logs?

    Maybe there is a manual or a link to the topic with such works?

  16. 2 часа назад, fabiobassa сказал:

    @Wester_Minsk
    Your contribute is highly appreciated, don't worry ! If you like to continue experiment is ok !
     

    I'm not worried, I just didn't want to bother you, unless absolutely necessary.

    I will continue working with pleasure.

    I am interested in this topic.

     

     

    2 часа назад, fabiobassa сказал:

    @Wester_Minsk
    Let me ask you : have you electronic skills ? Would you be able to connect a uart /ttl converter to those wonderfull uart pads I see int he photos ?

     

    I have a modest experience, but I can handle it.

    I'm friends with a soldering iron.

    I have:

    ch340 usb ttl,

    RS485 to UART,

    TTL to RS485,

    USB to RS485.

     

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines