Finally got all the bits and pieces to give the usb a try, works as advertised! Got wifi up and running and tried the browser, worked 1st try. Is there a graceful way to quit the browser?
Thanks hisptoot for this massive effort.
For clarification, are you asking how hisptoot integrated the LCD and keyboard drivers and built the original image or are you asking how to use the buildroot to compile your own programs?
If you are just looking to compile your own programs, I can certainly help you with that.
If you are looking to build your own image from scratch, that is something I have not attempted to do yet. Apparently the buildroot requires access to python2 and I am too lazy at the moment to fire up a virtual machine running Ubuntu 22.04.
Yes, I have done the mod for PWM Sound. I think it has something todo with the SDL Audio drivers. (alsa sound is not working for some unknown reason)
I can share my make file changes if someone is interested.
Edit: With choppy i mean: Sound is playing but some tones come late, so the melody gets wonky.
The goal for me is to make a image on my own as a project and then start to change things to my liking. Another reason is that I have another devboard that buildroot supports and practically nothing else does so I want to learn.
I know someone up thread was trying to build a Ubuntu image, but other than that, I don’t know if anyone else has tried to duplicate the work. Looking at the github repo where he put the drivers, he did not leave any specific instructions. Did you have a look at the shell scripts in buildroot/board/rockchip/rk3506? It looks like those scripts are doing at least some of the heavy lifting.
It seems to work. You have to set the TMPDIR environment variable because /tmp is only 50MB.
add to .bashrc:
export TMPDIR=[your tmpdir]
[Edit]
Fair Warning: pip has taken several hours and failed for the opencv-python package. I think we are here on a limit what you can do with PIP and 128 mb of memory.
Good tip, I will have to add that to my “Make this usable” list.
I am curious, are you using the default command launcher in the root account? If you jailbreak yourself out of that and use a normal user account, it frees up 45+ MB of RAM.
I have deactivated the commandlauncher, and closed the fbterm for more memory, but is was still not enough. So swap memory is needed for bigger packages.