What is target arch for freebsd rpi4

Well I wanna compile the same image that you compile.
I need the info please give me .
I'm working on porting.
Kindly help me.
Thanks
 
According to the Raspberry PI wiki the PI4 has the same image as PI3. Have you tried the example for the Raspberry Pi 3 in the release(7) manuals EXAMPLES section:

Code:
To build an image for the Raspberry Pi 3:

           cd /usr/src/release
           sh release.sh -c arm64/RPI3.conf
 
According to the Raspberry PI wiki the PI4 has the same image as PI3. Have you tried the example for the Raspberry Pi 3 in the release(7) manuals EXAMPLES section:

Code:
To build an image for the Raspberry Pi 3:

           cd /usr/src/release
           sh release.sh -c arm64/RPI3.conf
Ok so let me be clear.
I'm in jails .
And this method didn't seems to work there!
Any latest alternative...
 
What exactly doesn't work? Are there any error messages?

Inspecting /usr/src/release/arm64/RPI3.conf, the shell script is expecting the firmware of the PI 4 B bcm2711-rpi-4-b.dtb and config_rpi4.txt to be present on system.

Both files are provided by port (package) sysutils/rpi-firmware.
 
No additional script needed. To build a image of a RPI3/RPI4 inside a jail, assuming the jail is running and has a internet connection:

Code:
# jls                  # jls(8)
JID     IP Address ..
'n'        ....
# jexec 'n' csh        # replace 'n' with JID (jail id), jexec(8)

# pkg install u-boot-rpi rpi-firmware   # follow advice to install pkg(8)
# cd /usr/src/release
# sh release.sh -c arm64/RPI3.conf
 
Well I got this error.
I typed
cd release && sh release.sh -c arm64/RPI.conf
That error I got. I waited for 8 hours in front of my laptop.
Dunno what error is that.
And let I try again and compilation succeeded where will be image.

IMG_20210524_222621.jpg
 
Here the look at mail:
And my source tree is freebsd 13 stable
Screenshot_2021-05-25-22-10-35-163_com.termux.jpg
 

Attachments

  • Screenshot_2021-05-25-22-12-06-657_com.termux.jpg
    Screenshot_2021-05-25-22-12-06-657_com.termux.jpg
    382.9 KB · Views: 181
  • Screenshot_2021-05-25-22-11-43-874_com.termux.jpg
    Screenshot_2021-05-25-22-11-43-874_com.termux.jpg
    1.2 MB · Views: 229
Please stop posting pictures of text. Please just copy/paste the text. Pictures are impossible to quote from. Not to mention the fact that a picture is typically several hundreds of kilobytes where as the text it represents is only a few bytes.
 
I'm sorry
I installed Ghostbsd
I compile the image on it
I got 2 errors
U-boot-rpi-arm64 depends on executable mkimage not found
Other error was maybe u-boot-tools
I install this package (u-boot-tools)
u-boot-tools/work/u-boot-2020.7/doc/SPI/readme.sh_qspi.test:Bad file descriptor

But how to get mkimage ?
 
Hi, I compiled the image using sh release ---- I've seen that it was compressing image . But I couldn't find image.xz
Can you please tell me the location. I also try using find command but failed.
 
Uhm, just to get straight what you are talking about at all: Is this about release(7), for building installer media of the FreeBSD base system? :-/ Or something completely different?
 
Back
Top