Comments (8)
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.
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:
- raspberrypi-firmware-nokernel (I have built one from raspbian here: http://apt.tcpcloud.eu/debian/pool/rpi/r/raspberrypi-firmware-nokernel/)
(UPDATE: I have just built latest firmware for both armhf and arm64) - linux (but we can build one during image creation, UPDATE: fails on non-existing
bcm2709_defconfig
, where to get RPi3 config? There may be more issues, see https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=138232&p=917951#p917951) - flash-kernel (with patches to support RPi) - should not be needed since jessie? https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=735092
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.
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.
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.
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.
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.
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.
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)
- Seg fault HOT 2
- Strange behaviour : kernel panic not at all boots : is #165 back ? + workaround HOT 1
- broken link on project page HOT 2
- resuming build from error HOT 3
- Does the RPI4 run with the 32bit buster image? HOT 5
- Permission problems with rpi23genimage HOT 3
- wlan0 issues with wpa_cli [rpi3b+] HOT 11
- feat: custom.d firstboot action HOT 4
- error msg: bcm2708-rng -- Failed to find module 'bcm2708_rng' HOT 3
- Crash compiling Pi3-Bullseye 32 missing script mkknlimg kernel 5.3 and up (solved PR #212) HOT 2
- Pi4 images compiles (32 & 64) and boot (after Pr #212 #213) solved ! (edited) HOT 4
- Rpi4 64 bit image not working HOT 6
- Bluetooth is uninstalled if ENABLE_SOUND is set to false
- All generated images freeze on the rainbow screen HOT 4
- Typo in 15-rpi-config.sh
- RPI4 eeprom updater
- 20-networking.sh
- Pi4 and Pi4-64 Buster ans Bullseye are back ! (after #226 and #227) HOT 5
- Kernel version issue : 5.10.44-v7 with wrong architecture of binaries in /usr/src/linux (SOLVED) HOT 2
- Why do the "hardening" sysctls basically kill off IPv6 SLAAC and public IPv6? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rpi23-gen-image.