Jump to content
XPEnology Community

Problem compiling kernel


marc_al
 Share

Recommended Posts

Hello,

 

I am trying to compile a new kernel with the drivers for Hyper-V

Everything seems to be good but in the end, it doesn't seem to work

I have made the bzImage (renamed to zImage) and I have put it back in the img file (converted to vhd) and it says there is an error with the checksum

Here is all what I did.

1) Install requirements

sudo apt-get install git libc6-i386 build-essential libncurses5-dev

2) ln /home/marc /home/youruser

3) mkdir syno and cd syno

4) Download gcc420_glibc236_x64_bromolow-GPL.tgz

wget http://sourceforge.net/projects/dsgpl/f ... z/download

5) Download synogpl-3201-bromolow.tbz

wget http://sourceforge.net/projects/dsgpl/f ... z/download

6) tar -xvzf gcc420_glibc236_x64_bromolow-GPL.tgz

7) tar -xvjf synogpl-3201-bromolow.tbz -C /home/marc/syno/x86_64-linux-gnu/

8) git clone git://github.com/andy928/xpenology.git

cd xpenology

9) Check everything with Hyper-v inside the name (as * if possible or as module if not)

make ARCH=x86_64 CROSS_COMPILE=/home/youruser/syno/x86_64-linux-gnu/bin/x86_64-linux-gnu- menuconfig

10) make ARCH=x86_64 CROSS_COMPILE=/home/youruser/syno/x86_64-linux-gnu/bin/x86_64-linux-gnu-

11) make ARCH=x86_64 CROSS_COMPILE=/home/youruser/syno/x86_64-linux-gnu/bin/x86_64-linux-gnu- modules

12) make ARCH=x86_64 CROSS_COMPILE=/home/youruser/syno/x86_64-linux-gnu/bin/x86_64-linux-gnu- bzImage

13) Rename xpenology/arch/x86/boot/bzImage (mv /home/marc/syno/xpenology/arch/x86/boot/bzImage /home/marc/syno/xpenology/arch/x86/boot/zImage )

 

14 cd /home/marc/syno

15 mkdir Pat

16 git clone https://github.com/andy928/synochecksum.git synochecksum

16 cd synochecksum

17) make

18) cp synochecksum-emu1 /home/marc/syno/Pat

19 cd /home/marc/syno

 

21 Copy of DS3612xs_3202-Repack.pat in /home/marc/syno/Pat/DS3612xs_3202-Repack.pat.tar

22 tar -xvf DS3612xs_3202-Repack.pat

23 synochecksum-emu1 hda1.tgz rd.gz updater VERSION zImage >checksum.syno

24 tar -cvf DS312_xs-Repack2.pat.tar *

 

25 copy all the file zImage inside the in the vhd file (in the two partitions).

26 Launch the virtual machine and it doesn't work

 

Can you please tell me what I am missing? Is there a step I didn't do?

 

Thank you

Marc

Link to comment
Share on other sites

 Share

×
×
  • Create New...