Page 1 of 1

Kernel.mnt packing.

Posted: Mon Jan 24, 2022 8:19 pm
by macgub
Hi!
I want tweak/modify a bit kernel, so i download all needed files from SVN and compile. The binary was about ~200kb. When I exchange with current kernel.mnt boots, but it writes only few lines intro letters and hang. (Sorry I dont make photo) So I guess, kernel.mnt must be packed, but when I tried with kpack (option 'kernel' marked) it writes me 'unable to load file' or something like that (I choose kernel.mnt from sys root folder) I tried older kpack on older system distros (year 2018, 2015) - no luck I get similar communicate. I tried ver 7.7.0 and its kerpack but it was end of stubborn - it wrote me 'all is 0' on debug board and I give up (probably I have had to compile 7.7.0 kernel). I tried once again current kpack calling from command line with option -ker - I get 'unable to load file' or something like that. Once again I download from svn some linux tools to pack kernel - but it requires gcc to properly compile. Probably there is need to correct kpack sources - maybye its task for me? :?:

Re: Kernel.mnt packing.

Posted: Tue Jan 25, 2022 2:23 am
by sober_dev
The core has become a little fatter.
kerpack.inc (5.46 KiB)
Downloaded 164 times

Re: Kernel.mnt packing.

Posted: Tue Jan 25, 2022 4:43 pm
by macgub
Thanks.for sharing. Ok - kpack requires some inc files with macros, consts and so on too correct compile. Maybye its silly question - how I can download whole program directory (screenshot attached) with files I need. I dont see sth like download buttons not only for all files, but for separate too. Perhaps manually display inc/mac files, mark all and copy/paste to fasm editor? I tried exploler and firefox.... It is svn bug or just inteted feature? ....... Or I will check current distro for compiled new version. Thanks again anyway...

Re: Kernel.mnt packing.

Posted: Tue Jan 25, 2022 5:50 pm
by macgub
I tried kpack included in image dated 01.24 23:03 . No luck...

Re: Kernel.mnt packing.

Posted: Tue Jan 25, 2022 5:52 pm
by sober_dev
It is better way to have a local copy of the entire SVN repository.

This fix has not been uploaded yet.

KPACK compiled with the fix:
kpack (9.6 KiB)
Downloaded 168 times

Re: Kernel.mnt packing.

Posted: Tue Jan 25, 2022 6:03 pm
by dunkaist
sober_dev,
I can give you access to svn. PM me with a desired password, or I can generate a random one.

Re: Kernel.mnt packing.

Posted: Tue Jan 25, 2022 10:18 pm
by macgub
Nice ! Seems work OK. Thanks :!: :D