Jump to content

Bor

Members
  • Posts

    3
  • Joined

  • Last visited

  1. Hi, U-boot reads my SD card with a speed of less then 1 MB/s. This is the log from extraPutty for my kernel image: [30:208][35:648] 5025176 bytes read in 5389 ms (910.2 KiB/s) I find similar results from other people. When I read the same file in a shell with dd I get a speed of 20 MB/s. Clear the cache: echo 3 > /proc/sys/vm/drop_caches Read file from the /boot directory: dd if=zImage of=/dev/null 9814+1 records in 9814+1 records out 5025176 bytes (5.0 MB) copied, 0.246444 s, 20.4 MB/s This is the result I expect because the hardware is SD v2. (25 MB/s) Goal: Faster boot by increasing the SD card read speed of U-boot. Question: How to do this? Any remark is appreciated. Regards, Bor.
  2. Hi Zador, Thanks for the reply. I know the boards are the same for U-boot. (Except for the name of the board.) Not an issue but I wanted to try to add a new board to the boards supported by U-boot. In my user patch file I removed the patches for the other boards and checked if the timestamp of those files changed. They did. I will check the ftdfile environment variable when my long term memory test run is finished. Currently I'm only interested in U-boot because I can't set the green led. (It is also set in the boot script but that's also failing.) I have no problem setting the led in the OS. So the hardware is OK. (I don't use the vanilla kernel so I have a FEX-file.) I can set the red led in U-boot with gpio set PA15. (gpio code is working?) So I was looking for the differences between them in the dts file. The leds are treated different in the dts file. I want to debug this in U-boot without disturbing the original. Again the led itself is't important. I just want to get an idea what's the best way to make changes. (The ultimate goal is a fast boot but that's miles away.) Edit: I think I found my mistake. I copied the file from the u-boot-dev directory but that's not the directory that's in use. The u-boot-default directory is used and the other directories are ignored. Using the right directory overrides the patches and the log is showing this in the path name. (The u-boot-02-support-cheap-mmc.patch in the default seems to have problems.) Still interested in a supported way to make changes. Regards, Bor.
  3. Hi, I have a OPi lite board and the U-boot model name shows Orange Pi One. Reason: It's patched as a "one" in u-boot-99-add-missing-boards.patch. I copied this file to the userpatches/u-boot/u-boot-dev directory and made some changes so it refered to the sun8i-h3-orangepi-lite.dts I created. (According to the user provided patches section) This didn't do the trick because it didn't override the original patch. No change and the patching log shows that the original patch is applied. So obviously I did something wrong but I have no idea what. What I would like to achive is that I can control the green led on my board. (Pin PL10, signal name PWR-LED, signal name LED1 and component name LED-R in the schematics) If I stop the automatic boot and use the command gpio set PL10 I receive a warning that the output is still 0. My guess is that there is something wrong in the dts file of the one. Question: What's the best way to actualy add the lite board so that selecting the board in the building script uses the lite board config files? Any help would be appriciated. Regards, Bor.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines