Live: Replacing make with Scons, and trying to add MBR support

preview_player
Показать описание
In this livestream, we are replacing make with Scons which should make the build process cleaner and more streamlined, and we are adding MBR support to the bootloader in preparation for adding support for FAT16 and FAT32.

Links:
Рекомендации по теме
Комментарии
Автор

How do i use pyparted on osx, it fails when i try to install it with pip, and can you please create a tutorial on how to set it up?

sakthipraba
Автор

What bothers me most watching these live stream vods is that I can't write in the chat that 0x800 actually is 2048 and everything is fine. But I can't! Well I'm sure you'll figure this out before the end of the vod :D

pavelrak
Автор

I can't even build your version of the project

Shadowblitz
Автор

scons doesn't work for me nanobyte I get this...


scons: Reading SConscript files ...
TypeError: 'NoneType' object cannot be interpreted as an integer:
File "/home/shadowblitz16/Documents/source/OS/Nano/SConstruct", line 139:
SConscript('src/bootloader/stage2/SConscript', variant_dir=variantDir + '/stage2', duplicate=0)
File "/home/shadowblitz16/.local/lib/python3.9/site-packages/SCons/Script/SConscript.py", line 660:
return method(*args, **kw)
File "/home/shadowblitz16/.local/lib/python3.9/site-packages/SCons/Script/SConscript.py", line 597:
return _SConscript(self.fs, *files, **subst_kw)
File "/home/shadowblitz16/.local/lib/python3.9/site-packages/SCons/Script/SConscript.py", line 285:
exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
File "/home/shadowblitz16/Documents/source/OS/Nano/src/bootloader/stage2/SConscript", line 26:
obj_crti = objects.pop(FindIndex(objects, lambda item: IsFileName(item, 'crti.o')))
File "/usr/lib/python3.9/collections/__init__.py", line 1229:
return self.data.pop(i)

Shadowblitz