Re: sysutils/u-boot-rpi2 appears to be broken with freebsd/crochet from github

2018-03-05 Thread John
On 04/03/2018 07:37, Oleksandr Tymoshenko wrote:
> There is ongoing work on using RPi firmware port for all RPi models and
> switching u-boot-rpi3 to the same framework as u-boot-rpi2 but it
> involves changes across multiple areas (drivers, ports, release
> scripts). Some of this stuff is already committed, some is in review,
> some is WIP.

Hi,

I managed to build a freebsd-12-arm6-rpi2 image with freebsd/crochet by 
installing the rpi-firmware port and copying the files from
/usr/local/share/rpi-firmware into /usr/local/share/u-boot/u-boot-rpi2 then 
running freebsd/crochet as usual. 

Thank you for pointing me in the right direction  :D
 
-- 
J.
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: sysutils/u-boot-rpi2 appears to be broken with freebsd/crochet from github

2018-03-04 Thread tech-lists
On 04/03/2018 03:38, Hyun Hwang wrote:
> Looks like Crochet requires some update.

Hi, thanks for this. I've posted the issue to freebsd/crochet

-- 
J.
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: sysutils/u-boot-rpi2 appears to be broken with freebsd/crochet from github

2018-03-03 Thread Hyun Hwang
On Sunday, March 4, 2018, 1:07 AM (UTC+), "tech-lists" 
 wrote:
> When I use crochet to build for rpi2 it never completes writing the
> image because it looks for things in /usr/local/share/u-boot/u-boot-rpi2
> and doesn't find for example LICENCE.broadcom. There's just two files
> there:
> 
> root@desktop:/usr/local/share/u-boot/u-boot-rpi2 # ls -lah
> total 295
> drwxr-xr-x  2 root  wheel 4B Mar  3 20:26 .
> drwxr-xr-x  4 root  wheel 4B Mar  4 00:58 ..
> -rw-r--r--  1 root  wheel   765B Mar  3 20:23 README
> -rw-r--r--  1 root  wheel   371K Mar  3 20:23 u-boot.bin
>

(My email client messed up and sent the reply only to -arm; so I'm sending this 
message again to -ports as well. Sorry for duplicate post.)

I see that firmware files are separated from `sysutils/u-boot-rpi2` port and 
are now located in `sysutils/rpi-firmware` port as of [ports 
r454265](https://svnweb.freebsd.org/ports?view=revision=454265). Looks 
like Crochet requires some update.

My wild guess is that RPi3 is yet to be separated because of gonzo's SMP binary 
(armstub8.bin)?
-- 
Hyun Hwang
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


sysutils/u-boot-rpi2 appears to be broken with freebsd/crochet from github

2018-03-03 Thread tech-lists
Hello ports@

I don't know whether this is a freebsd/crochet
(https://github.com/freebsd/crochet) problem or a
/usr/ports/sysutils/u-boot-rpi2 problem.

When I use crochet to build for rpi2 it never completes writing the
image because it looks for things in /usr/local/share/u-boot/u-boot-rpi2
and doesn't find for example LICENCE.broadcom. There's just two files
there:

root@desktop:/usr/local/share/u-boot/u-boot-rpi2 # ls -lah
total 295
drwxr-xr-x  2 root  wheel 4B Mar  3 20:26 .
drwxr-xr-x  4 root  wheel 4B Mar  4 00:58 ..
-rw-r--r--  1 root  wheel   765B Mar  3 20:23 README
-rw-r--r--  1 root  wheel   371K Mar  3 20:23 u-boot.bin

The build fails with the following:

[...]

Creating a 50m FAT partition at Sun Mar 4 00:56:08 UTC 2018 with start
block 63 and label BOOT
active set on md0s1
Creating an auto-sized UFS partition at Sun Mar 4 00:56:08 UTC 2018
md0s2 created
/dev/md0s2a: 3668.5MB (7513088 sectors) block size 32768, fragment size 4096
using 6 cylinder groups of 626.09MB, 20035 blks, 80256 inodes.
super-block backups (for fsck_ffs -b #) at:
 192, 1282432, 2564672, 3846912, 5129152, 6411392
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 /root/crochet/work/_.mount.boot
Mounting UFS partition 1 at /root/crochet/work/_.mount.freebsd
cp: /usr/local/share/u-boot/u-boot-rpi2/LICENCE.broadcom: No such file
or directory

In contrast, /usr/ports/sysutils/u-boot-rpi3 installs the following into
/usr/local/share/u-boot/u-boot-rpi3:

root@desktop:/usr/local/share/u-boot/u-boot-rpi3 # ls -lah
total 9078
drwxr-xr-x  2 root  wheel16B Mar  4 00:58 .
drwxr-xr-x  4 root  wheel 4B Mar  4 00:58 ..
-rw-r--r--  1 root  wheel   1.5K Mar  4 00:58 LICENCE.broadcom
-rw-r--r--  1 root  wheel   123B Mar  4 00:58 README
-rw-r--r--  1 root  wheel   6.0K Mar  4 00:58 armstub8.bin
-rw-r--r--  1 root  wheel18K Mar  4 00:58 bootcode.bin
-rw-r--r--  1 root  wheel   136B Mar  4 00:58 config.txt
-rw-r--r--  1 root  wheel   6.3K Mar  4 00:58 fixup.dat
-rw-r--r--  1 root  wheel   2.4K Mar  4 00:58 fixup_cd.dat
-rw-r--r--  1 root  wheel   9.5K Mar  4 00:58 fixup_db.dat
-rw-r--r--  1 root  wheel   9.5K Mar  4 00:58 fixup_x.dat
-rw-r--r--  1 root  wheel   2.6M Mar  4 00:58 start.elf
-rw-r--r--  1 root  wheel   604K Mar  4 00:58 start_cd.elf
-rw-r--r--  1 root  wheel   4.7M Mar  4 00:58 start_db.elf
-rw-r--r--  1 root  wheel   3.7M Mar  4 00:58 start_x.elf
-rw-r--r--  1 root  wheel   361K Mar  4 00:58 u-boot.bin

and it builds fine, which leads me to think the problem isn't with
crochet. Both u-boot-rpi2 and u-boot-rpi3 build and install cleanly from
ports.
-- 
J.
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"