Giter Site home page Giter Site logo

Comments (8)

fpytloun avatar fpytloun commented on May 29, 2024

It should be possible:

  • Debian has arm64 port: https://wiki.debian.org/Arm64Port
  • it will be needed to build kernel, probably with ARCH=arm64 parameter, this is just a small change, the same for debootstrap
  • bootloader/firmware will be probably the same?

We just get a new RPi 3 so I can maybe try in a spare time.. :-)

from rpi23-gen-image.

fpytloun avatar fpytloun commented on May 29, 2024

Tried RPiv3 build (work in progress: master...fpytloun:rpi3)
The biggest issue is collabora repo with no arm64 packages. So there's no source to get patched flash-kernel and bootloader packages.

Currently following packages are missing:

There are more options now:

  • contribute to Debian so all required packages will be once upstream (this is correct approach but long-term and requires support from someone who is Debian maintainer)
  • build all the required packages and provide them in 3rd party repo (similar to collabora, I already have something at tcpcloud - apt.tcpcloud.eu/debian)
  • prepare community-driven build infrastructure and repository for this project (Debian on RPi) but it will then grow from build script to custom distribution

Any ideas?

from rpi23-gen-image.

drtyhlpr avatar drtyhlpr commented on May 29, 2024

thanks for all your ideas and feedback.

https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=138232&p=917951#p91795
hmmm that post sounds bad... . I think patching aarch64 kernel (and videocore) to get it working with RPi3 will take a lot of time and possible jtag hardware debugging...currently for me the only option seems to be to wait to get a working kernel config for bcm2837_defconfig..

that one reads better https://www.reddit.com/r/archlinux/comments/48fu0v/help_building_an_arm64_bcm2837raspberry_pi_3_arch/

questions:

  • the debootstrap with arm64 and qemu-aarch64 should work right?le
  • the current RPi3 runs on 32bit mode default and should therefore be compatible to RPi2 "rasbian" and also images created by this script?

about contributing to Debian: I decided for myself that its not possible for me to contribute some official packages or images created by this script. If you want to do this right and responsible - this takes constant time and my life is more like earthquake and fire :)

...argh "Major problem stems from the fact that the VideoCore side of things is still firmly 32-bit."... yeah you mean that closed videocore right? :)

from rpi23-gen-image.

fpytloun avatar fpytloun commented on May 29, 2024

Yes, I also think that 64bit support in kernel + firmware is something what we need to wait for. Anyway bootstraping aarch64 was going fine with my patches linked above.

Original 32bit images should work on RPi3 but didn't - it would probably require newer firmware + kernel to boot. This is what I am currently working on - I have updated packages originally provided by Collabora and Raspbian and made them available here: http://apt.tcpcloud.eu/debian/
So using this repository instead of collabora (to provide latest firmware) and building custom kernel using BUILD_KERNEL should work. I will let you know and post pull request when I succeed :-)

Still I would like to build kernel package the debian way and make it also available in repository.

from rpi23-gen-image.

fpytloun avatar fpytloun commented on May 29, 2024

Ok, so I succesfully built armhf image that is working on RPi3 - using latest kernel and firmware from http://apt.tcpcloud.eu/debian
Not tested very well but it seems that wireless interface is not detected.
And it's still corrupting SD card (Kingston) in the same way as RPi2 with Collabora kernel+firmware.. :-X

from rpi23-gen-image.

drtyhlpr avatar drtyhlpr commented on May 29, 2024

nice work! I ask myself is these packages should be added to this script to enable some kind of alpha rpi3 support or if it would be possible to compile it "on the fly" like uboot or fbturbo.

ps. (rpi2) I am still struggling with initramfs mmc/sdcard erros. so maybe your sdcard errors are related to that... there is this new driver ... I am doing heavy (sd)debgging the next days because I can not stand it that the script produces and nice bootable system without errors but if I use a simple initramfs I see the sdcard errors...(all of many sandisks that work great anywhere else) hmm I am pretty much sure its not related to modules (missing or wrong options inside initramfs)

pps. ordering rpi3 soon

ppps. the default collabora (BUILD_KERNEL=false) with its default initramfs work fine for me .. I think this 3x kernel uses the old sdcard driver

from rpi23-gen-image.

g-vidal avatar g-vidal commented on May 29, 2024

Hi,
I have got my new raspi3, if you need a dumb beta tester I can take the role :-) . Please let me do what I can do to help.

from rpi23-gen-image.

g-vidal avatar g-vidal commented on May 29, 2024

Hi,
Succeeded install rpi2 imge on my rpi3.... seems to work OK even if there are some clear anomalies.
The reason why there is no WIFI is that raspi has choosen a chipset that needs a proprietary driver LAN95XX or also called smsc95xx. microchip
The module must be compiled but it failed because the configuration of my raspi is rather strange...
I would like to try @fpytloun method with http://apt.tcpcloud.eu/debian but I don't know how...
I go back to raspbian ;-( but I stay tuned.
If any progress is made I'll check.
thanks again for your work.

from rpi23-gen-image.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.