OESF Portal | OESF Forum | OESF Wiki | LinuxPDA | #planetgemini chat on matrix.org | #gemini-pda chat on Freenode | #zaurus and #alarmz chat on Freenode | ELSI (coming soon) | Ibiblio

IPB

Welcome Guest ( Log In | Register )

2 Pages V  < 1 2  
Reply to this topicStart new topic
> Need cross compile tutorials.
Varti
post Feb 28 2020, 01:04 AM
Post #16





Group: Admin
Posts: 997
Joined: 30-April 08
From: Italy
Member No.: 21,713



QUOTE(cain2pang @ Feb 28 2020, 06:24 AM) *
I think I find the key, I build kexec, kexecboot with klibc, and the size is correct now.

That's nice, have you also tried to boot it on the Z?

Varti
Go to the top of the page
 
+Quote Post
cain2pang
post Feb 28 2020, 06:33 PM
Post #17





Group: Members
Posts: 24
Joined: 16-September 19
From: China
Member No.: 855,729



QUOTE(Varti @ Feb 28 2020, 05:04 PM) *
QUOTE(cain2pang @ Feb 28 2020, 06:24 AM) *
I think I find the key, I build kexec, kexecboot with klibc, and the size is correct now.

That's nice, have you also tried to boot it on the Z?

Varti


I had tried but something works wrong, I'm still working on that.
Go to the top of the page
 
+Quote Post
cain2pang
post Mar 3 2020, 04:09 AM
Post #18





Group: Members
Posts: 24
Joined: 16-September 19
From: China
Member No.: 855,729



QUOTE(greguu @ Sep 26 2019, 03:07 PM) *
Attached the 4.14.18 kernel .config for void linux kexecboot and the initramfs. This should help you get going.
Source is same as https://github.com/greguu/linux-4.14.18-c3x00


Sorry, seems the config file is missed, can you reupload it?
Go to the top of the page
 
+Quote Post
Varti
post Mar 3 2020, 04:16 AM
Post #19





Group: Admin
Posts: 997
Joined: 30-April 08
From: Italy
Member No.: 21,713



QUOTE(cain2pang @ Mar 3 2020, 01:09 PM) *
QUOTE(greguu @ Sep 26 2019, 03:07 PM) *
Attached the 4.14.18 kernel .config for void linux kexecboot and the initramfs. This should help you get going.
Source is same as https://github.com/greguu/linux-4.14.18-c3x00


Sorry, seems the config file is missed, can you reupload it?

Do you mean the kexecboot.tar.gz attached to that post? I have successfully downloaded it, and I have seen it contains a .config and a initramfs.cpio.xz archive. Is the .config file the one you are searching for?

Varti
Go to the top of the page
 
+Quote Post
cain2pang
post Mar 3 2020, 06:52 AM
Post #20





Group: Members
Posts: 24
Joined: 16-September 19
From: China
Member No.: 855,729



QUOTE(Varti @ Mar 3 2020, 08:16 PM) *
Do you mean the kexecboot.tar.gz attached to that post? I have successfully downloaded it, and I have seen it contains a .config and a initramfs.cpio.xz archive. Is the .config file the one you are searching for?

Varti


Sorry, my mistake, I ignored the hidden file.
Go to the top of the page
 
+Quote Post
greguu
post Mar 16 2020, 11:23 PM
Post #21





Group: Moderators
Posts: 393
Joined: 14-November 05
From: New Zealand
Member No.: 8,535



QUOTE(cain2pang @ Feb 28 2020, 06:24 PM) *
I think I find the key, I build kexec, kexecboot with klibc, and the size is correct now.


Yes that is the way, use klibc or glibc and make sure to "strip" the binary, too. I have not tried musl for kexecboot, but should also work
Go to the top of the page
 
+Quote Post

2 Pages V  < 1 2
Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 2nd June 2020 - 10:55 PM