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

FreeBSD sources expected at /usr/src #287

Open
tldrm opened this issue Feb 19, 2020 · 1 comment
Open

FreeBSD sources expected at /usr/src #287

tldrm opened this issue Feb 19, 2020 · 1 comment

Comments

@tldrm
Copy link

tldrm commented Feb 19, 2020

Starting at Wed Feb 19 17:53:30 +03 2020
Loading configuration from config.sh
Board: OrangePi-One
Option: ImageSize 3900mb
Option: Growfs 
Option: User tldrm
Source version is: 358099
Building FreeBSD version: 13.0
Image name is:
    /var/tmp/c/crochet/work/FreeBSD-armv7-13.0-GENERIC-358099-OrangePi-One.img
Building FreeBSD version: 13.0
Object files are at: /var/tmp/c/crochet/work/obj/var/tmp/c/src-head
Found suitable FreeBSD source tree in:
    /var/tmp/c/src-head
Found U-Boot port in:
    /usr/local/share/u-boot/u-boot-orangepi-one
Building FreeBSD armv7 world at Wed Feb 19 17:53:37 +03 2020
    (Logging to /var/tmp/c/crochet/work/_.buildworld.armv7.log)
Building FreeBSD armv7-GENERIC kernel at Wed Feb 19 19:08:14 +03 2020
    (Logging to /var/tmp/c/crochet/work/_.buildkernel.armv7-GENERIC.log)
Building FreeBSD armv7-GENERIC ubldr at Wed Feb 19 19:12:33 +03 2020
    (Logging to /var/tmp/c/crochet/work/ubldr-armv7-GENERIC/_.ubldr.armv7-GENERIC.build.log)
Creating a 3900MB raw disk image in:
    /var/tmp/c/crochet/work/FreeBSD-armv7-13.0-GENERIC-358099-OrangePi-One.img
Installing U-Boot files
448+1 records in
449+0 records out
459776 bytes transferred in 0.099463 secs (4622583 bytes/sec)
448+1 records in
449+0 records out
459776 bytes transferred in 0.115297 secs (3987753 bytes/sec)
Partitioning the raw disk image with MBR at Wed Feb 19 19:13:12 +03 2020
gpart create -s MBR md0
md0 created
Creating a 32m FAT partition at Wed Feb 19 19:13:12 +03 2020 with start block 1m and label BOOT
active set on md0s1
Creating a 2560m UFS partition at Wed Feb 19 19:13:12 +03 2020
md0s2 created
/dev/md0s2a: 2560.0MB (5242880 sectors) block size 32768, fragment size 4096
        using 5 cylinder groups of 626.09MB, 20035 blks, 80256 inodes.
super-block backups (for fsck_ffs -b #) at:
 192, 1282432, 2564672, 3846912, 5129152
tunefs: soft updates set
Using inode 4 in cg 0 for 4194304 byte journal
tunefs: soft updates journaling set
tunefs: NFSv4 ACLs set
Mounting all file systems:
Mounting FAT partition 1 at /var/tmp/c/crochet/work/_.mount.boot
Mounting UFS partition 1 at /var/tmp/c/crochet/work/_.mount.freebsd
Installing ubldr in /var/tmp/c/crochet/work/_.mount.boot
=== Running: MACHINE=arm /usr/src/sys/tools/fdt/make_dtb.sh /var/tmp/c/src-head/sys /usr/src/sys/gnu/dts/arm/sun8i-h3-orangepi-one.dts /var/tmp/c/crochet/work/opione ===
sh: /usr/src/sys/tools/fdt/make_dtb.sh: not found

A workaround (for an empty /usr/src) might be

rmdir /usr/src
ln -s PATHTOYOURSRC /usr/src
@itstmyi
Copy link

itstmyi commented Jan 15, 2022

Thanks for your sharing.

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

2 participants