Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Heads UP: please update the status #238

Open
PetruGarstea opened this issue Apr 19, 2018 · 10 comments
Open

Heads UP: please update the status #238

PetruGarstea opened this issue Apr 19, 2018 · 10 comments

Comments

@PetruGarstea
Copy link

PetruGarstea commented Apr 19, 2018

Greetings,

I haven't touched crochet for over 6 months, I wanted to build a new image and during debugging I found that

  1. Crochet now supports only head, what about 11 release branch ?
  2. Crochet cannot create the image because there is an issue with u-boot-rpi2 package

Please update the status of the project or where I can find the future plans, changelogs and other news.

Cheers,
Petru

@brd
Copy link
Member

brd commented Apr 19, 2018

  1. Crochet has only ever targeted HEAD. If it happens to work on 11 that is fine, but not something we are that concerned with. This is for multiple reasons, but really it boils down that HEAD supports more devices better. Many large changes won't be merged back to 11.
  2. Yeah, I need to work on testing this.

Mostly my time is focused on the pkgbase project since that represents the best way to update ARM devices and is really important for FreeBSD on ARM.

@tickerguy
Copy link

I have a "working" Crochet for 11-Stable that will build on the RPI2, if you need it.. .I could make it available. It's a bit older, but functional and is what I use for the RPI2 series.

I haven't built on it for the last couple of months but it certainly should still work...

@PetruGarstea
Copy link
Author

PetruGarstea commented Apr 19, 2018

Hi,

I can download 11.1 from freebsd repo, thx.

I have a list of packages and configs that I bake into my image with crochet. If i go with clean install then it takes too long time to install the packages.

I believe there is a migration from u-boot-rpiX to rpi-firmware package, but I cannot say for sure, I didn't find any official information.

@pjbloknl
Copy link

Just to be sure. Is necessary to run crochet on -current or can it run on -stable? I do run it on -stable with a -current source and so far that is ok.

Also I have used a union mount to merge rpi-firmware over u-boot-rpi2 which works fine. rpi1 needs different approach

@brd
Copy link
Member

brd commented Apr 20, 2018

Nope, building on -STABLE is fine. Assuming you are only one major version number behind as FreeBSD only guarantees that.

@PetruGarstea
Copy link
Author

I have built a new image from head branch with a copy of rpi-firmware to u-boot-rpi2 folder under /usr/local/share.

When booting uboot doesnt load the kernel it stops with boottp.

thx

@DenisPolygalov
Copy link

DenisPolygalov commented Jun 13, 2018

FYI: Building on 11.1-RELEASE and earlier fails due to absence of the whole /usr/src/stand tree in the source code. So crocket is not useful even on the latest RELEASE version of FreeBSD which is quite sad...

@PetruGarstea
Copy link
Author

11.2 it works, you will have to create a symlink to dst file in src tree

  1. mkdir /usr/src/sys/dts/
  2. ln -s /usr/src/sys/boot/fdt/dts/arm/rpi2.dts /usr/src/sys/dts/rpi2.dts

@DenisPolygalov
Copy link

@PetruGarstea why 'arm' folder is missing? Not needed? Maybe:

# mkdir -p /usr/src/sys/dts/arm
# ln -s /usr/src/sys/boot/fdt/dts/arm/rpi2.dts /usr/src/sys/dts/arm/rpi2.dts

@PetruGarstea
Copy link
Author

@DenisPolygalov in 11 and 12 versions the path is different and crochet is targeting only with the head, the above small changes allows to build 11.2 release with crochet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants