-
What is the current state/timeline?
-
GCC for FPGAs
- Correct build system
- Follows the Filesystem Hierarchy Standard (FHS)
- Allows setting
prefix
(/usr/local
for users,/usr
for distributions) - Allows setting
libdir
(lib
,lib32
orlib64
, distribution dependent)
- Allows setting
- Follows the Filesystem Hierarchy Standard (FHS)
- Correct build system
-
Allows setting
libexecdir
(if used)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import importlib | |
import types | |
from typing import Any, Callable | |
class _staticproperty(): | |
def __init__(self, fget=None, fset=None, fdel=None, doc=None): | |
self.fget = fget | |
self.fset = fset |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# nothing |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from solid import * | |
from solid.utils import * | |
SEGMENTS = 200 | |
def tube(inner, outer, height): | |
assert inner < outer | |
return cylinder(d=outer, h=height) - cylinder(d=inner, h=height) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
def shift(buf, offset, length): | |
assert length > 0 | |
left_extra = offset % 8 | |
right_extra = 8 - (offset + length) % 8 | |
start_offset = offset // 8 | |
end_offset = (offset + length - 1) // 8 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import inspect | |
def introspect(obj, prefix=None, filter_underscore=False, walked=set()): | |
try: | |
for el in inspect.getmembers(obj): | |
name, child_obj = el |
- Create the disk
Let's create a raw disk (you can use other tools like dd
too)
qemu-img create -f raw kernel-dev.img 20G
Now install the system
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
pdftk $1 output fixed.pdf | |
pdftk fixed.pdf output uncompressed.pdf uncompress | |
sed -e 's|/Watermark||g' -e 's|<.*WatermarkSettings.*>||g' uncompressed.pdf > unwatermarked.pdf | |
pdftk unwatermarked.pdf output compressed.pdf compress |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
U-Boot 2017.07-RELEASE-g78ed34f31579 (Sep 29 2017 - 07:43:44 -0700) | |
DRAM: 242 MiB | |
machid : 0x8010001 | |
Product: meraki_Maggot | |
NAND: ONFI device found | |
128 MiB | |
Using default environment | |
In: serial |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@pytest.fixture(autouse=True, scope='session') | |
@pytest.mark.first | |
def server(self, port_range=[9000, 9999]): | |
p = port = None | |
try: | |
stdout = open('ratbag-emu-log-stdout.txt', 'w') | |
stderr = open('ratbag-emu-log-stderr.txt', 'w') | |
def try_port(port): | |
ret = False |