On 10/14/2016 07:38 AM, H. Nikolaus Schaller wrote:
Hi,
Am 14.10.2016 um 02:45 schrieb aTc atc@k-n-p.org:
Here's a test image with a tiler enabled 4.8.1 kernel, and an u-boot that show the extlinux menu( on the serial output) .
Oh nice! Will give it a try asap.
Would it be difficult to share the source code of the u-boot patches?
You can find them, and the tiler stuff here: http://packages.pyra-handheld.com/images/extra/tiler/
And about the patched u-boot, on my pyra the previous u-boot seemed to have glitched to do a saveenv for some reason ( it probably went into the fastboot stuff), which causes it not to pick up the new config. In that case you need to reset the env to its default (env default -a) and save it.
The default kernel will load after a 3 second timeout
http://packages.pyra-handheld.com/images/extra/tiler/pyra-debian-jessie-mate...
either extract the .img, and dd to an sd card
well, that can fail if the target SD is a little smaller (1-2% variation of "official" 8GB are possible) than baked into the .img.
Yes, that's why I made the image 7GB , i've had similar problems with the rpi image that was just a few bytes larger than my sd card.
I've got scripts to output the rootfs as either a .tar.xz/gz , and use a makesd type script to install it to sd, or as a full.img , which is much easier to install for an end user, since it requires far less support tools, and doesn't have as many problems running on win/mac.
I don't really like the "write a full image to an sd card" method either though :)
I would like to include both, the Tiler kernel patches and this script in the Letux kernel tree so that we can build/modify that independently of user-space code and have a well known location where tiler kernel code and helper scripts are version-managed.
the tiler patches came from Matthijs's kernel at https://github.com/mvduin/linux/tree/work/merged
I just merged them into the newer 4.8.1. There are still a lot of problems and evil code in there. (biggest problem is currently that the screen turns off after 10 seconds if /dev/dri/card0 isn't kept open, which is what tiler.sh tries to do)