Here is an update on the port.
Just like week 6, this is another short update.
I’ve been working on creating a bootstrap-mmc target for the build system. The current issues I’m facing are
- Downloading MLO and u-boot fails and thus build fails since jam doesn’t know how to create those targets otherwise. I managed to fix this but apparently, the fix breaks the current build system so I need to modify the fix such that it doesn’t break the build system.
- Copying the bootstrap image as the second partition of the MMC image. I planned to use dd since it works fine and probably works fine on Linux and BSDs but dd requires a size to be specified, which is slightly tricky to compute in jam. The obvious solution of using cat doesn’t seem to work - the resultant size of MMC is much higher than expected.
I hope to add the bootstrap-mmc target for jam within this week which would make it much easier for anyone to build the image.
Work on WebKit continued this week. In the previous report, I mentioned several issues with the new tiled rendering. Most of them turned out to be either problems in app_server or misuse of the APIs in the WebKit code. The most important part was that WebKit used region clipping and expected the region to be transformed when using SetTransform; however, with the current design, region clipping isn't affected by the view transform.
Here’s an update on week 6(a relatively short one so no TL;DR :) ).
I managed to fix the bootable SD card image generation script that I created last week to use mtools and thus eliminate the need for losetup and root permissions. The script is available in a Github repository
Meanwhile, I’ve also been working on adding a bootstrap-mmc target to Jam. Right now, the target generates the haiku_loader_nbsd.ub successfully but fails because it doesn’t know how to generate MLO and u-boot. I have not figured out why it doesn’t know how to make targets MLO and u-boot. Hopefully, I’ll fix that up in a few days.
Here’s an update on week #5.
TL;DR - I created a bootable SD card image that boots up when emulating BeagleBoard-xM in qemu. Control is passed to haiku_loader, which then crashes. A link to the necessary u-boot files and an sh compatible shell script(that generates the SD card image) is provided at the end.
Update: There's a better script that does not require losetup/root permissions listed in update for week #6.
Work on the new drawing code for WebKit continues this week. We have scrolling support again (this was a bug in app_server, which stippi helped to fix), the scrollbars are drawn in the view thread (we are still using the fake scrollbars from WebKit), and the screen is updating as it should, so we get animations to work much better (for example the 2048 game plays with animations now).
I spent most of the week working on the texture mapper drawing code. I spent a lot of time tweaking the options (each change requires a complete build of Web+, so this added up to a lot of time...), and today I got the texture mapper to display something in a BWindow.