From: Mishal Roy <roymishal210@gmail.com>
To: Benda Xu <heroxbd@gentoo.org>
Cc: gentoo-soc@lists.gentoo.org
Subject: Re: [gentoo-soc] Application for Google Summer of Code 2018-Mishal Roy
Date: Thu, 22 Mar 2018 20:46:24 +0530 [thread overview]
Message-ID: <CAA-UPQvXMYd7Yv6NjuFn2XEXWSrNq7r1=2eHc2NMqagQC+Q4mw@mail.gmail.com> (raw)
In-Reply-To: <87woy4ycqp.fsf@gentoo.org>
[-- Attachment #1: Type: text/plain, Size: 3250 bytes --]
Hi,
Yes I will download the Xiaomi boot image by ebuild.
I had proposed this small project so that it can be successfully completed
within the time frame of three months.
Eliminating the concept of boot image is feasible.
If you recommend, I would like to extend my proposal by adding it.
Aboot the application bootloader of Redmi Note 4 reads boot image and loads
kernel+ramdisk into RAM.
On the other hand, bootloader on computer reads kernel and ramdisk ,and
loads those into RAM.
We can make Aboot function like a computer bootloader by editing its source
code [1].
However we will require Xiaomi's permission to allow us install the newly
built Aboot because Aboot gets checked by SBL(Secondary boot loader) [2].
I recently got familiar with basics of Gentoo.
I have been using Ubuntu since 2 years.
I have Ubuntu on my desktop computer and laptop.
I use Ubuntu for compiling ASM, C and MATLAB codes.
I also use it for running Guitarix,Rakarrack ( virtual guitar amplifiers)
and Audacity sound recorder.
Through Ubuntu I got to know about initramfs as well as list of services
that are started by sysvinit and upstart.
i.e. udev, pulseaudio , x-sever, lightdm, dbus, cron etc.
I have experimented with these sevices by starting and stopping.
I have not contributed to any community or solved bugs so far.
I have Dell Venue 7 3740 which is an Intel powered Android device.This
device is my main device for Android development.
https://opensource.dell.com/releases/Venue_7_3740_Merrifield/developer-edition/A195/
1. https://www.tldp.org/HOWTO/SRM-HOWTO/aboot.html
2.
https://forum.xda-developers.com/android/general/info-android-device-partitions-basic-t3586565/amp/
Thanks and Regards,
Mishal Roy.
On Thu, Mar 22, 2018 at 9:37 AM, Benda Xu <heroxbd@gentoo.org> wrote:
> Hi Mishal,
>
> Mishal Roy <roymishal210@gmail.com> writes:
>
> > As a proof of my proposed concept I have written a kernel ebuild which
> > successfully builds x86 linux kernel from source code present in
> > /usr/src/linux directory of Gentoo liveDVD. I have attached the ebuild
> > and images related to it.
>
> Thank you for trying this out.
>
> You still have a lot to learn about the basics of ebuild. Alice is on
> the Kernel Team. She might have more to comment.
>
> > x86kernelbuild-1.0.ebuild
>
> The version number should be the same as upstream. No
> architecture-specific name, like 'x86, should be used in the name.
>
> > EAPI=0
>
> EAPI=0 is no longer encourage in Gentoo. Check out EAPI-6
>
> > DESCRIPTION="This is an ebuild that compiles x86 linux kernel"
>
> > SLOT="0"
>
> > KEYWORDS="~x86"
>
> > pkg_preinst()
>
> pkg_preinst is not used like this. Check out src_compile.
>
> >
> > {
> > cd /usr/src/linux
> > make ARCH=x86 i386_defconfig
> > make && make modules_install
> > }
>
> > builds x86 linux kernel from source code present in /usr/src/linux
> > directory of Gentoo liveDVD
>
> This is not how Gentoo ebuild works, the build should prepare the source
> code.
>
>
> Kernel is a specific piece of software. Traditionally users take care
> of the final installation. But there is a genkernel helper to automate
> the process. Please check out
>
> https://wiki.gentoo.org/wiki/Genkernel
>
> for inspirations.
>
>
> Cheers,
> Benda
>
[-- Attachment #2: Type: text/html, Size: 4769 bytes --]
next prev parent reply other threads:[~2018-03-22 15:16 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-21 17:51 [gentoo-soc] Application for Google Summer of Code 2018-Mishal Roy Mishal Roy
2018-03-22 4:07 ` Benda Xu
2018-03-22 15:16 ` Mishal Roy [this message]
2018-03-23 0:47 ` Benda Xu
2018-03-22 15:25 ` Rich Freeman
2018-03-22 16:06 ` Mishal Roy
2018-03-23 3:33 ` [gentoo-soc] kernel ebuild (Was: Application for Google Summer of Code 2018-Mishal Roy) Benda Xu
2018-03-23 6:50 ` [gentoo-soc] Application for Google Summer of Code 2018-Mishal Roy Patrick Lauer
2018-03-23 13:37 ` Rich Freeman
2018-03-23 13:49 ` EBo
-- strict thread matches above, loose matches on Subject: below --
2018-03-16 5:16 Mishal Roy
2018-03-17 22:50 ` Benda Xu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAA-UPQvXMYd7Yv6NjuFn2XEXWSrNq7r1=2eHc2NMqagQC+Q4mw@mail.gmail.com' \
--to=roymishal210@gmail.com \
--cc=gentoo-soc@lists.gentoo.org \
--cc=heroxbd@gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox