Author Topic: compiled kernel but no Image.gz-dtb ,only vmlinux  (Read 6507 times)

cam1965

  • Sr. Member
  • ****
  • Posts: 422
    • View Profile
    • http://
compiled kernel but no Image.gz-dtb ,only vmlinux
« on: February 28, 2020, 06:16:28 pm »
Hi,
after a long journey compiling kernel inside cosmo ( I did a lot of changes to compile it , really a pain ) , the kernel was compiled.
But only vmlinux was generated . Not the Image.gz-dtb.
Please see the error in the attached photo.
( dtc_overlay exec format error ).
Please developers help me.
I think Adam Boardman can help me.
Thank you all.

Updated : the error persists inside cosmo, but if compiled in my mac ( with dual  boot mac and linux ) the image was generated correctly.
« Last Edit: March 13, 2020, 11:59:28 am by cam1965 »

mibry

  • Jr. Member
  • **
  • Posts: 72
    • View Profile
compiled kernel but no Image.gz-dtb ,only vmlinux
« Reply #1 on: March 02, 2020, 09:49:13 am »
Quote from: cam1965
Hi,
after a long journey compiling kernel inside cosmo ( I did a lot of changes to compile it , really a pain ) , the kernel was compiled.
But only vmlinux was generated . Not the Image.gz-dtb.
Please see the error in the attached photo.
( dtc_overlay exec format error ).
Please developers help me.
I think Adam Boardman can help me.
Thank you all.

Updated : the error persists inside cosmo, but if compiled in my mac ( with dual  boot mac and linux ) the image was generated correctly.

There was a comment I read somewhere stating that compiling kernel on the cosmo was not work at present due to MISC_BINFMT was not enabled in the initial kernel. This in turn effects when the kernel compiles as it tries to call some x86 functions during compile time. I think this is correct.

cam1965

  • Sr. Member
  • ****
  • Posts: 422
    • View Profile
    • http://
compiled kernel but no Image.gz-dtb ,only vmlinux
« Reply #2 on: March 02, 2020, 10:11:52 am »
Quote from: mibry
Quote from: cam1965
Hi,
after a long journey compiling kernel inside cosmo ( I did a lot of changes to compile it , really a pain ) , the kernel was compiled.
But only vmlinux was generated . Not the Image.gz-dtb.
Please see the error in the attached photo.
( dtc_overlay exec format error ).
Please developers help me.
I think Adam Boardman can help me.
Thank you all.

Updated : the error persists inside cosmo, but if compiled in my mac ( with dual  boot mac and linux ) the image was generated correctly.

There was a comment I read somewhere stating that compiling kernel on the cosmo was not work at present due to MISC_BINFMT was not enabled in the initial kernel. This in turn effects when the kernel compiles as it tries to call some x86 functions during compile time. I think this is correct.
Ok. Thank you so much.

cam1965

  • Sr. Member
  • ****
  • Posts: 422
    • View Profile
    • http://
compiled kernel but no Image.gz-dtb ,only vmlinux
« Reply #3 on: March 02, 2020, 07:13:27 pm »
Quote from: cam1965
Quote from: mibry
Quote from: cam1965
Hi,
after a long journey compiling kernel inside cosmo ( I did a lot of changes to compile it , really a pain ) , the kernel was compiled.
But only vmlinux was generated . Not the Image.gz-dtb.
Please see the error in the attached photo.
( dtc_overlay exec format error ).
Please developers help me.
I think Adam Boardman can help me.
Thank you all.

Updated : the error persists inside cosmo, but if compiled in my mac ( with dual  boot mac and linux ) the image was generated correctly.

There was a comment I read somewhere stating that compiling kernel on the cosmo was not work at present due to MISC_BINFMT was not enabled in the initial kernel. This in turn effects when the kernel compiles as it tries to call some x86 functions during compile time. I think this is correct.
Ok. Thank you so much.

Compiled a kernel in my mac with linux  (with binfmt_misc support ) and tried to compile a new  kernel in cosmo ( booting the kernel with binfmt_misc support enabled ), but the problem persists. The kernel was compiled generating vmlinux, but not  generating Image.gz-dtb.

Anyway thank you

mibry

  • Jr. Member
  • **
  • Posts: 72
    • View Profile
compiled kernel but no Image.gz-dtb ,only vmlinux
« Reply #4 on: March 03, 2020, 03:15:25 pm »
Quote from: cam1965
Quote from: cam1965
Quote from: mibry
Quote from: cam1965
Hi,
after a long journey compiling kernel inside cosmo ( I did a lot of changes to compile it , really a pain ) , the kernel was compiled.
But only vmlinux was generated . Not the Image.gz-dtb.
Please see the error in the attached photo.
( dtc_overlay exec format error ).
Please developers help me.
I think Adam Boardman can help me.
Thank you all.

Updated : the error persists inside cosmo, but if compiled in my mac ( with dual  boot mac and linux ) the image was generated correctly.

There was a comment I read somewhere stating that compiling kernel on the cosmo was not work at present due to MISC_BINFMT was not enabled in the initial kernel. This in turn effects when the kernel compiles as it tries to call some x86 functions during compile time. I think this is correct.
Ok. Thank you so much.

Compiled a kernel in my mac with linux  (with binfmt_misc support ) and tried to compile a new  kernel in cosmo ( booting the kernel with binfmt_misc support enabled ), but the problem persists. The kernel was compiled generating vmlinux, but not  generating Image.gz-dtb.

Anyway thank you

Can I ask if you can share you boot.img with bindmt_support, I have been trying to compile a kernel with same and namespaces without much success. Thanks in advance.
« Last Edit: March 03, 2020, 03:16:44 pm by mibry »

cam1965

  • Sr. Member
  • ****
  • Posts: 422
    • View Profile
    • http://
compiled kernel but no Image.gz-dtb ,only vmlinux
« Reply #5 on: March 03, 2020, 03:47:59 pm »
Quote from: mibry
Quote from: cam1965
Quote from: cam1965
Quote from: mibry
Quote from: cam1965
Hi,
after a long journey compiling kernel inside cosmo ( I did a lot of changes to compile it , really a pain ) , the kernel was compiled.
But only vmlinux was generated . Not the Image.gz-dtb.
Please see the error in the attached photo.
( dtc_overlay exec format error ).
Please developers help me.
I think Adam Boardman can help me.
Thank you all.

Updated : the error persists inside cosmo, but if compiled in my mac ( with dual  boot mac and linux ) the image was generated correctly.

There was a comment I read somewhere stating that compiling kernel on the cosmo was not work at present due to MISC_BINFMT was not enabled in the initial kernel. This in turn effects when the kernel compiles as it tries to call some x86 functions during compile time. I think this is correct.
Ok. Thank you so much.

Compiled a kernel in my mac with linux  (with binfmt_misc support ) and tried to compile a new  kernel in cosmo ( booting the kernel with binfmt_misc support enabled ), but the problem persists. The kernel was compiled generating vmlinux, but not  generating Image.gz-dtb.

Anyway thank you

Can I ask if you can share you boot.img with bindmt_support, I have been trying to compile a kernel with same and namespaces without much success. Thanks in advance.

I've compiled the kernel wjth module support for bindmt . I will put the boot.img and the module(.ko ). Unfortunately , like the kernel from repository it has no support for wifi. I had to make a lot of changes in files and  links to compile the kernel. I will place the files here in a few  of minutes.
« Last Edit: March 03, 2020, 03:49:41 pm by cam1965 »

cam1965

  • Sr. Member
  • ****
  • Posts: 422
    • View Profile
    • http://
compiled kernel but no Image.gz-dtb ,only vmlinux
« Reply #6 on: March 03, 2020, 03:58:13 pm »
Quote from: cam1965
Quote from: mibry
Quote from: cam1965
Quote from: cam1965
Quote from: mibry
Quote from: cam1965
Hi,
after a long journey compiling kernel inside cosmo ( I did a lot of changes to compile it , really a pain ) , the kernel was compiled.
But only vmlinux was generated . Not the Image.gz-dtb.
Please see the error in the attached photo.
( dtc_overlay exec format error ).
Please developers help me.
I think Adam Boardman can help me.
Thank you all.

Updated : the error persists inside cosmo, but if compiled in my mac ( with dual  boot mac and linux ) the image was generated correctly.

There was a comment I read somewhere stating that compiling kernel on the cosmo was not work at present due to MISC_BINFMT was not enabled in the initial kernel. This in turn effects when the kernel compiles as it tries to call some x86 functions during compile time. I think this is correct.
Ok. Thank you so much.

Compiled a kernel in my mac with linux  (with binfmt_misc support ) and tried to compile a new  kernel in cosmo ( booting the kernel with binfmt_misc support enabled ), but the problem persists. The kernel was compiled generating vmlinux, but not  generating Image.gz-dtb.

Anyway thank you

Can I ask if you can share you boot.img with bindmt_support, I have been trying to compile a kernel with same and namespaces without much success. Thanks in advance.

I've compiled the kernel wjth module support for bindmt . I will put the boot.img and the module(.ko ). Unfortunately , like the kernel from repository it has no support for wifi. I had to make a lot of changes in files and  links to compile the kernel. I will place the files here in a few  of minutes.

This type of files are not permitted . I am at work. I will try later at home. I think I will have to ask the administrator to put here.
« Last Edit: March 03, 2020, 04:11:04 pm by cam1965 »

cam1965

  • Sr. Member
  • ****
  • Posts: 422
    • View Profile
    • http://
compiled kernel but no Image.gz-dtb ,only vmlinux
« Reply #7 on: March 03, 2020, 04:26:48 pm »
Quote from: cam1965
Quote from: cam1965
Quote from: mibry
Quote from: cam1965
Quote from: cam1965
Quote from: mibry
Quote from: cam1965
Hi,
after a long journey compiling kernel inside cosmo ( I did a lot of changes to compile it , really a pain ) , the kernel was compiled.
But only vmlinux was generated . Not the Image.gz-dtb.
Please see the error in the attached photo.
( dtc_overlay exec format error ).
Please developers help me.
I think Adam Boardman can help me.
Thank you all.

Updated : the error persists inside cosmo, but if compiled in my mac ( with dual  boot mac and linux ) the image was generated correctly.

There was a comment I read somewhere stating that compiling kernel on the cosmo was not work at present due to MISC_BINFMT was not enabled in the initial kernel. This in turn effects when the kernel compiles as it tries to call some x86 functions during compile time. I think this is correct.
Ok. Thank you so much.

Compiled a kernel in my mac with linux  (with binfmt_misc support ) and tried to compile a new  kernel in cosmo ( booting the kernel with binfmt_misc support enabled ), but the problem persists. The kernel was compiled generating vmlinux, but not  generating Image.gz-dtb.

Anyway thank you

Can I ask if you can share you boot.img with bindmt_support, I have been trying to compile a kernel with same and namespaces without much success. Thanks in advance.

I've compiled the kernel wjth module support for bindmt . I will put the boot.img and the module(.ko ). Unfortunately , like the kernel from repository it has no support for wifi. I had to make a lot of changes in files and  links to compile the kernel. I will place the files here in a few  of minutes.

This type of files are not permitted . I am at work. I will try later at home. I think I will have to ask the administrator to put here.

cam1965

  • Sr. Member
  • ****
  • Posts: 422
    • View Profile
    • http://
compiled kernel but no Image.gz-dtb ,only vmlinux
« Reply #8 on: March 03, 2020, 04:28:54 pm »
Quote from: cam1965
Quote from: cam1965
Quote from: cam1965
Quote from: mibry
Quote from: cam1965
Quote from: cam1965
Quote from: mibry
Quote from: cam1965
Hi,
after a long journey compiling kernel inside cosmo ( I did a lot of changes to compile it , really a pain ) , the kernel was compiled.
But only vmlinux was generated . Not the Image.gz-dtb.
Please see the error in the attached photo.
( dtc_overlay exec format error ).
Please developers help me.
I think Adam Boardman can help me.
Thank you all.

Updated : the error persists inside cosmo, but if compiled in my mac ( with dual  boot mac and linux ) the image was generated correctly.

There was a comment I read somewhere stating that compiling kernel on the cosmo was not work at present due to MISC_BINFMT was not enabled in the initial kernel. This in turn effects when the kernel compiles as it tries to call some x86 functions during compile time. I think this is correct.
Ok. Thank you so much.

Compiled a kernel in my mac with linux  (with binfmt_misc support ) and tried to compile a new  kernel in cosmo ( booting the kernel with binfmt_misc support enabled ), but the problem persists. The kernel was compiled generating vmlinux, but not  generating Image.gz-dtb.

Anyway thank you

Can I ask if you can share you boot.img with bindmt_support, I have been trying to compile a kernel with same and namespaces without much success. Thanks in advance.

I've compiled the kernel wjth module support for bindmt . I will put the boot.img and the module(.ko ). Unfortunately , like the kernel from repository it has no support for wifi. I had to make a lot of changes in files and  links to compile the kernel. I will place the files here in a few  of minutes.

This type of files are not permitted . I am at work. I will try later at home. I think I will have to ask the administrator to put here.

cam1965

  • Sr. Member
  • ****
  • Posts: 422
    • View Profile
    • http://
compiled kernel but no Image.gz-dtb ,only vmlinux
« Reply #9 on: March 03, 2020, 04:43:19 pm »
Quote from: cam1965
Quote from: cam1965
Quote from: cam1965
Quote from: cam1965
Quote from: mibry
Quote from: cam1965
Quote from: cam1965
Quote from: mibry
Quote from: cam1965
Hi,
after a long journey compiling kernel inside cosmo ( I did a lot of changes to compile it , really a pain ) , the kernel was compiled.
But only vmlinux was generated . Not the Image.gz-dtb.
Please see the error in the attached photo.
( dtc_overlay exec format error ).
Please developers help me.
I think Adam Boardman can help me.
Thank you all.

Updated : the error persists inside cosmo, but if compiled in my mac ( with dual  boot mac and linux ) the image was generated correctly.

There was a comment I read somewhere stating that compiling kernel on the cosmo was not work at present due to MISC_BINFMT was not enabled in the initial kernel. This in turn effects when the kernel compiles as it tries to call some x86 functions during compile time. I think this is correct.
Ok. Thank you so much.

Compiled a kernel in my mac with linux  (with binfmt_misc support ) and tried to compile a new  kernel in cosmo ( booting the kernel with binfmt_misc support enabled ), but the problem persists. The kernel was compiled generating vmlinux, but not  generating Image.gz-dtb.

Anyway thank you

Can I ask if you can share you boot.img with bindmt_support, I have been trying to compile a kernel with same and namespaces without much success. Thanks in advance.

I've compiled the kernel wjth module support for bindmt . I will put the boot.img and the module(.ko ). Unfortunately , like the kernel from repository it has no support for wifi. I had to make a lot of changes in files and  links to compile the kernel. I will place the files here in a few  of minutes.

This type of files are not permitted . I am at work. I will try later at home. I think I will have to ask the administrator to put here.
files in zip finally here

mibry

  • Jr. Member
  • **
  • Posts: 72
    • View Profile
compiled kernel but no Image.gz-dtb ,only vmlinux
« Reply #10 on: March 04, 2020, 06:01:51 am »
Ok I see what you mean. No wifi is worst than not having the other modules. We will have to wait on Nokit and Adam for full kernel. Thanks for the files.

cam1965

  • Sr. Member
  • ****
  • Posts: 422
    • View Profile
    • http://
compiled kernel but no Image.gz-dtb ,only vmlinux
« Reply #11 on: March 04, 2020, 06:11:38 am »
Quote from: mibry
Ok I see what you mean. No wifi is worst than not having the other modules. We will have to wait on Nokit and Adam for full kernel. Thanks for the files.

Yes. It is true.
The kernel update from repository also has no wifi support.
I've asked here the sources for vendor modules. No answers yet.
Please see
https://www.oesf.org/forum/index.php?showtopic=36163

mibry

  • Jr. Member
  • **
  • Posts: 72
    • View Profile
compiled kernel but no Image.gz-dtb ,only vmlinux
« Reply #12 on: March 06, 2020, 07:20:26 am »
Quote from: cam1965
Quote from: mibry
Ok I see what you mean. No wifi is worst than not having the other modules. We will have to wait on Nokit and Adam for full kernel. Thanks for the files.

Yes. It is true.
The kernel update from repository also has no wifi support.
I've asked here the sources for vendor modules. No answers yet.
Please see
https://www.oesf.org/forum/index.php?showtopic=36163

Silly question, when you compiled the kernel did it compile the modules correctly? Did you try compiling a monolithic kernel?

cam1965

  • Sr. Member
  • ****
  • Posts: 422
    • View Profile
    • http://
compiled kernel but no Image.gz-dtb ,only vmlinux
« Reply #13 on: March 06, 2020, 10:20:12 am »
Quote from: mibry
Quote from: cam1965
Quote from: mibry
Ok I see what you mean. No wifi is worst than not having the other modules. We will have to wait on Nokit and Adam for full kernel. Thanks for the files.

Yes. It is true.
The kernel update from repository also has no wifi support.
I've asked here the sources for vendor modules. No answers yet.
Please see
https://www.oesf.org/forum/index.php?showtopic=36163

Silly question, when you compiled the kernel did it compile the modules correctly? Did you try compiling a monolithic kernel?
The kernel config has support for modules. But it has only 2 modules enabled and also this binfmt module that I have enabled .
This module was compiled  correctly. When I boot with my compiled kernel it loads the binfmt module correctly. I don' t have time to dedicate to cosmo. I will not compile a monolithic kernel ( for the reasons below ).
As my other question, the vendor modules are not in the kernel source  tree ( this modules are necessary to wifi support ). Please see below:

https://www.oesf.org/forum/index.php?showtopic=36163

Note : these vendor modules work only with the kernel image provided by Planet. The updadted kernel from repositories ( apt-get update and apt-get upgrade ) don't load them correctly.
« Last Edit: March 06, 2020, 11:06:23 am by cam1965 »

mibry

  • Jr. Member
  • **
  • Posts: 72
    • View Profile
compiled kernel but no Image.gz-dtb ,only vmlinux
« Reply #14 on: March 07, 2020, 08:56:03 am »
Quote from: cam1965
Quote from: mibry
Quote from: cam1965
Quote from: mibry
Ok I see what you mean. No wifi is worst than not having the other modules. We will have to wait on Nokit and Adam for full kernel. Thanks for the files.

Yes. It is true.
The kernel update from repository also has no wifi support.
I've asked here the sources for vendor modules. No answers yet.
Please see
https://www.oesf.org/forum/index.php?showtopic=36163

Silly question, when you compiled the kernel did it compile the modules correctly? Did you try compiling a monolithic kernel?
The kernel config has support for modules. But it has only 2 modules enabled and also this binfmt module that I have enabled .
This module was compiled  correctly. When I boot with my compiled kernel it loads the binfmt module correctly. I don' t have time to dedicate to cosmo. I will not compile a monolithic kernel ( for the reasons below ).
As my other question, the vendor modules are not in the kernel source  tree ( this modules are necessary to wifi support ). Please see below:

https://www.oesf.org/forum/index.php?showtopic=36163

Note : these vendor modules work only with the kernel image provided by Planet. The updadted kernel from repositories ( apt-get update and apt-get upgrade ) don't load them correctly.

Looking at the latest posting from Planet hopefully a new kernel will be forthcoming that will allow a kernel to be compiled.