Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

after copy kernel.elf to isofile using "make buildimg" it says Disk full and it make as error #5

Open
venomshaggy123 opened this issue Feb 15, 2021 · 8 comments

Comments

@venomshaggy123
Copy link

No description provided.

@venomshaggy123
Copy link
Author

plz help me
whole question in the issue

@ajh123
Copy link

ajh123 commented Feb 22, 2021

In the kernel makefile you can modify the buildimg target to this, however it will take a little longer to run

buildimg:
	dd if=/dev/zero of=$(BUILDDIR)/$(OSNAME).img bs=512 count=46875
	mformat -i $(BUILDDIR)/$(OSNAME).img -f 2880 -v GT_MOS ::
	mmd -i $(BUILDDIR)/$(OSNAME).img ::/EFI
	mmd -i $(BUILDDIR)/$(OSNAME).img ::/EFI/BOOT
	mcopy -i $(BUILDDIR)/$(OSNAME).img $(BOOTEFI) ::/EFI/BOOT
	mcopy -i $(BUILDDIR)/$(OSNAME).img startup.nsh ::
	mcopy -i $(BUILDDIR)/$(OSNAME).img $(BUILDDIR)/kernel.elf ::
	mcopy -i $(BUILDDIR)/$(OSNAME).img $(BUILDDIR)/zap-light16.psf ::

@ajh123
Copy link

ajh123 commented Feb 22, 2021

And change the GT_MOS after the -v to what you want

@chiboubys
Copy link

chiboubys commented Mar 10, 2021

try this cmd :

mkfs -t vfat $(BUILDDIR)/$(OSNAME).img

@venomshaggy123
Copy link
Author

venomshaggy123 commented Mar 15, 2021 via email

@venomshaggy123
Copy link
Author

venomshaggy123 commented Mar 16, 2021 via email

@Yo-yo-ooo
Copy link

mformat: mformat.c:367: check_fs_params_and_set_fat: Assertion `clusters_fit_into_fat(Fs)' failed.
Who can help with me?

@Jaantheman
Copy link

try removing the -f parameter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants