-
Posts
33 -
Joined
-
Last visited
Content Type
Forums
Store
Crowdfunding
Applications
Events
Raffles
Community Map
Posts posted by Wester_Minsk
-
-
Hi!
In the thread about CSC Armbian for RK322X TV Boxes, good news about Multitool with SSH,
This Multitool is suitable for rk3318 ??
What version of drrbin is there? -
I switched to - Armbian 22.02 - Debian Bullseye minimal - mainline kernel 5.15.16
Everything is ok on my board.
I migrated the system to a usb3 ssd drive, and connected a usb3 hub with a 1 Gbit LAN.
On the new version of the image, the armbian-config works fine after migration.Thank you so much for the new release!!!
-
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!
🍺
-
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.
-
There was a simple way, and it was in front of my nose.
This is the standard way from the official instructions of the Armbian:Start the install script:
nand-sata-install
I chose:
of booting from eMMC/NAND, system to SATA/USBThe system migrates to a USB3 SSD
Restart and boot the system from USB3now a stable start with USB3
-
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 часов назад, 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.
-
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/sScore: 5507
my raspberry have 7,590
if up cpu is on the board, the result will be about with pi4
-
9 часов назад, fabiobassa сказал:
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 resultsThanks 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: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. -
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
-
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.
-
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.Скрытый текст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?
-
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. -
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:
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.
-
1 час назад, jock сказал:
That is strange, I see v1.16 (yours) is in use for the armbian image.
I'll test it again.
-
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 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.
-
Ok, I'll test it.
Thanks
-
-
37 минут назад, fabiobassa сказал:
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 eemcfull 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?
-
-
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.
-
-
6 минут назад, jock сказал:
Could you share the backup you did?
backup original android or my armbian?
CSC Armbian for RK3318/RK3328 TV box boards
in Rockchip CPU Boxes
Posted
Multitool over SSH worked great!!
It took me 5 minutes to install in emmc.
Thank you very much!