quarkscript / linux-armv7-xe303c12-only

Linux kernel for old google-snow chromebook
GNU General Public License v2.0
18 stars 2 forks source link

Not exactly an issue #10

Open magixuser opened 2 years ago

magixuser commented 2 years ago

This is not exactly an issue but can you please document or teach me how to use this? I have the same device but I can't get other os to boot.

I tried lots of stuff already like aok from https://github.com/cubetronic/aok/releases/tag/v0.7.1-beta which gives some error about not having enough space even though I do have space. I also tried archbk from https://github.com/altreact/archbk, i installed archarm on my thumb drive but it just beeps when I press ctrl u and does nothing. Ctrl D returns me to chromeos

And then I stumbled here, finding the same exact device (i even watched a clip from yt showing archarm running on my device with a comment by quarkscript (possibly you))

Please help me, i am a complete beginner, I tried linux distros before like manjaro, ubuntu, fedora but not on arm, i have no idea what to do

quarkscript commented 2 years ago

Hi!

Well, I am almost sure that archbk was installed successfully, but since flash-kernel image size was not reduced, some kernel issue may be present. You may check this post. That guy use some of my scripts, so probably it helps (required to install uboot-tools and vboot-utils).

As for this repo, you may download any of disk images, extract it, write to usb-stick or sdcard and try to boot. To do that any linux distro may be used, but do not forget to install zstd package, because all disk images was compressed with it. For example:

Disk image could be resized, edim script can help with it (demonstration).

To update kernel you may download a newer from releases and install it by regular way for specific linux distro. Or build it by yourself. How to build void-linux kernel described here. To build custom archlinux|ARM kernel package you need download (press raw button at each file and press key combination Ctrl+S): PKGBUILD, config and kernel.its from here execute makepkg at archlinuxarm, follow instructions. If fails, install requirements and re-run makepkg.

As for Kali or Devuan arm linuxes, there is another script that can build whole Kali or Devuan arm linux disk image from x86_64 Kali or Devuan linux.

Edit. By the way XE303C12 will not boot from USB3 port (blue). This limitation is embedded at uboot

hh3k0 commented 2 years ago

Hello, thank you for this project. Are your disk images supposed to work with non-verified u-boot flashed to SPI? If you have any pointers with regard to how to make them work in this particular scenario, it would be most appreciated.

quarkscript commented 2 years ago

Hi!

Well, I am not familiar with non-verified u-boot, but if it can boot ChromeOs, it probably can also boot my disks images. Since kernel uses the panfrost (mali video driver) some issues may occur with simplefb-nv-uboot. If it can boot a regular kernel (like grub), it's even better, then you may play with kernel boot string without kernel reflashing. Signed kernel and regular zImage should be present at /boot (at least for recent kernel packages)

Now I am far from any project, sorry, there is a war around me