public inbox for gentoo-soc@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-soc] Weekly Report: Project - Standalone Gentoo Chromebook
@ 2020-06-08  7:40 Ashwin Kumar
  2020-06-28 14:24 ` Benda Xu
  0 siblings, 1 reply; 10+ messages in thread
From: Ashwin Kumar @ 2020-06-08  7:40 UTC (permalink / raw
  To: gentoo-soc; +Cc: Brian Dolbec, Benda Xu

[-- Attachment #1: Type: text/plain, Size: 512 bytes --]

Hi, I built a toolchain for Chromium OS.

I tried building toolchain using gentoo’s crossdev but failed. So, I built
it using crosstool-ng as it was ready to use and quite easy to install and
setup.

Next, I will be setting it up on crOS which will now help portage compile
and build packages. Also, need to add necessary libraries that are missing
in toolchain and configure portage to use it.
My link to the blog : Link <https://zshzero.github.io/blog/gsoc/week1/>
-- 
- Cheers

Ashwin A Kumar

[-- Attachment #2: Type: text/html, Size: 742 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread
* [gentoo-soc] Weekly Report: Project - Standalone Gentoo Chromebook
@ 2020-06-16  1:11 Ashwin Kumar
  0 siblings, 0 replies; 10+ messages in thread
From: Ashwin Kumar @ 2020-06-16  1:11 UTC (permalink / raw
  To: gentoo-soc; +Cc: Brian Dolbec, Benda Xu

[-- Attachment #1: Type: text/plain, Size: 716 bytes --]

Hi everyone,

I remounted the partitions with read/write and execute option. Then
downloaded the toolchain repository, moved it to the right directory, set
the path and symlinked them to /usr/bin. Later, I configured portage to
pull from the gentoo repository, fetched the latest snapshot, setup
make.conf and ask it to compile and build the package. Also, I did manually
build some packages from sources that were necessary for portage.

I tried to update the profile but got struck in circular dependencies. So,
I am emerging those packages now. I was able to emerge sys-devel/binutils
but now struck with emerging sys-devel/gcc.

[1] Blog : https://zshzero.github.io/blog/gsoc/week2

-- 
- Cheers

Ashwin A Kumar

[-- Attachment #2: Type: text/html, Size: 942 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread
* [gentoo-soc] Weekly Report: Project - Standalone Gentoo Chromebook
@ 2020-06-22 10:11 Ashwin Kumar
  0 siblings, 0 replies; 10+ messages in thread
From: Ashwin Kumar @ 2020-06-22 10:11 UTC (permalink / raw
  To: gentoo-soc; +Cc: Brian Dolbec, Benda Xu

[-- Attachment #1: Type: text/plain, Size: 793 bytes --]

Hi everyone,

As gcc needed glibc version 2.29, I started emerging it with its
dependencies and also by adding required use flags. But it built a glibc
that doesn’t work and failed sanity checks. So, I changed the profile to
default/linux/amd64/17.1/desktop and added gcc, glibc to packages.provided
which overcame the problem of circular dependencies.

Then, It needed perl package, So I had to cross compile it using crossdev.
At last, I zipped the toolchain directory, copied to crOS and unzipped it.
But it failed as it had less space on its root partition. I referred a
script called chromeos-resize.sh and learnt things that was required. It
successfully extended the root partition.
[1] Blog : https://zshzero.github.io/blog/gsoc/week3
-- 
- Regards

Ashwin A Kumar

[-- Attachment #2: Type: text/html, Size: 1045 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread
* [gentoo-soc] Weekly Report: Project - Standalone Gentoo Chromebook
@ 2020-06-29  8:40 Ashwin Kumar
  0 siblings, 0 replies; 10+ messages in thread
From: Ashwin Kumar @ 2020-06-29  8:40 UTC (permalink / raw
  To: gentoo-soc; +Cc: Brian Dolbec, Benda Xu

[-- Attachment #1: Type: text/plain, Size: 824 bytes --]

Hi everyone,

After expanding the root partition, I moved the toolchain built using
crossdev to crOS and configured it. But crOS core packages are compiled
with older version of gcc and glibc which is holding back to compile new
packages using portage. So, I thought to upgrade it to using the
Upgrading_Gentoo guide. But again, It broke the core packages. I also tried
to install to /usr/local but the problem persisted.

So, next week, I will be trying to setup a prefix for crOS. I have brief
understanding of it, so i would be following the manual bootstrap
<https://wiki.gentoo.org/wiki/Project:Prefix/Manual_Bootstrap> process and
also setting it up stage wise would make debugging easy. As a prerequisite,
I should have a toolchain packages which i already have built using
crosstool-ng
-- 
- Regards

Ashwin A Kumar

[-- Attachment #2: Type: text/html, Size: 1023 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-07-01  8:46 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-08  7:40 [gentoo-soc] Weekly Report: Project - Standalone Gentoo Chromebook Ashwin Kumar
2020-06-28 14:24 ` Benda Xu
2020-06-29  1:39   ` Ashwin Kumar
2020-07-01  7:02     ` Benda Xu
2020-07-01  7:22       ` Ashwin Kumar
2020-07-01  8:23         ` Benda Xu
2020-07-01  8:46           ` Ashwin Kumar
  -- strict thread matches above, loose matches on Subject: below --
2020-06-16  1:11 Ashwin Kumar
2020-06-22 10:11 Ashwin Kumar
2020-06-29  8:40 Ashwin Kumar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox