9front - general discussion about 9front
 help / color / mirror / Atom feed
* Re: [9front] Problems building Raspberry Pi image
@ 2019-03-30  4:44 cinap_lenrek
  2019-03-30 17:47 ` Pablo Tesari
  0 siblings, 1 reply; 5+ messages in thread
From: cinap_lenrek @ 2019-03-30  4:44 UTC (permalink / raw)
  To: 9front

i found a solution. you can apply the following change in /sys/lib/dist/mkfile:

diff -r ea7fc8e2526a sys/lib/dist/mkfile
--- a/sys/lib/dist/mkfile	Fri Mar 29 06:35:41 2019 +0100
+++ b/sys/lib/dist/mkfile	Sat Mar 30 05:42:27 2019 +0100
@@ -146,4 +146,5 @@
 	bind mail/lib /n/src9/mail/lib
 	bind ndb /n/src9/lib/ndb
 	bind -a adm/timezone /n/src9/adm/timezone
+	aux/stub -d /n/src9/usr
 	bind usr /n/src9/usr

this works as aux/stub mounts itself on /n/src9, so the bind
for /n/src9/usr will not override /usr in the root filesystem
but the stub directory from aux/stub.

--
cinap


^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: [9front] Problems building Raspberry Pi image
@ 2019-03-31 14:59 cinap_lenrek
  2019-04-01  5:56 ` Pablo Tesari
  0 siblings, 1 reply; 5+ messages in thread
From: cinap_lenrek @ 2019-03-31 14:59 UTC (permalink / raw)
  To: 9front

sysupdate and rebuild the kernel.

changeset:   7012:00bf6c34e13e
user:        cinap_lenrek@felloff.net
date:        Fri Feb 01 23:31:44 2019 +0100
summary:     bcm: include sdmmc in pi kernel configuration

diff -r 79938a709ae3 -r 00bf6c34e13e sys/src/9/bcm/pi
--- a/sys/src/9/bcm/pi	Wed Jan 30 18:22:52 2019 +0100
+++ b/sys/src/9/bcm/pi	Fri Feb 01 23:31:44 2019 +0100
@@ -39,7 +39,7 @@
 misc
 	armv6
 	uartmini
-#	sdmmc	emmc
+	sdmmc	emmc
 	dma
 	vcore
 	vfp3	coproc

--
cinap


^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: [9front] Problems building Raspberry Pi image
@ 2019-03-30  4:05 cinap_lenrek
  0 siblings, 0 replies; 5+ messages in thread
From: cinap_lenrek @ 2019-03-30  4:05 UTC (permalink / raw)
  To: 9front

the issue is that it binds /sys/lib/dist/usr over /usr. and you probably
dont have a separate repo to build the iso from but use the your root
filesystem as /n/src9.

so to get arround this, try to create the target file in some other
directory, say /tmp.

i'll see if i can get arround this limitation in the mkfile.

--
cinap


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-04-01  5:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-30  4:44 [9front] Problems building Raspberry Pi image cinap_lenrek
2019-03-30 17:47 ` Pablo Tesari
  -- strict thread matches above, loose matches on Subject: below --
2019-03-31 14:59 cinap_lenrek
2019-04-01  5:56 ` Pablo Tesari
2019-03-30  4:05 cinap_lenrek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).