Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Mar 2018 17:05:04 +0900 (JST)
From:      Mori Hiroki <yamori813@yahoo.co.jp>
To:        Ian Lepore <ian@freebsd.org>, Warner Losh <imp@bsdimp.com>
Cc:        "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Subject:   Re: Dose clang support armv4
Message-ID:  <879567.21647.qm@web101707.mail.ssk.yahoo.co.jp>
In-Reply-To: <1520982842.84937.282.camel@freebsd.org>
References:  <815937.99592.qm@web101711.mail.ssk.yahoo.co.jp> <340750.57914.qm@web101714.mail.ssk.yahoo.co.jp> <CANCZdfqqSqC2Rj0wSQJuxRb7=OEGUBQmnq6HW6MJnYn-qOmM%2BQ@mail.gmail.com> <1520876476.84937.226.camel@freebsd.org> <173804.55612.qm@web101713.mail.ssk.yahoo.co.jp> <1520982842.84937.282.camel@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi=0A=0AI use ZRouter build system and make arm-boot image.=0A=0AI add to a=
rmv4 setting ZRouter.=0A=0AAlso I make change to mov from bx instruction at=
 this=A0=0Adirectory assembly code.=0A=0Asecure/lib/libcrypto/arm/=0Acontri=
b/compiler-rt/lib/builtins/arm/=0A=0AI checked bx instruction at kernel and=
 init binary.=0A=0AThere is nothing.=A0It's right armv4 binary.=0A=0AIf dts=
 have bad geom_flashmap infomation then=0Ahang up at pause() at vfs_mountro=
ot.c.=0AThis time can't use break.=0A=0AI think nearly close...=0A=0AHiroki=
 Mori=0A=0A----- Original Message -----=0A> From: Ian Lepore <ian@freebsd.o=
rg>=0A> To: Mori Hiroki <yamori813@yahoo.co.jp>; Warner Losh <imp@bsdimp.co=
m>=0A> Cc: "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>=0A> Date: 20=
18/3/14, Wed 08:14=0A> Subject: Re: Dose clang support armv4=0A> =0A> On Tu=
e, 2018-03-13 at 15:28 +0900, Mori Hiroki wrote:=0A>>=A0=A0Hi=0A>> =0A>>=A0=
=A0Thanks for reply.=0A>> =0A>>=A0=A0I'm sorry last log is missing geom_fla=
shmap dts entry.=0A>> =0A>>=A0=A0I use to cfi rootfs.=0A>> =0A>> =0A>>=A0=
=A0Now rootfs mount and execute init.=0A>> =0A>>=A0=A0https://gist.github.c=
om/yamori813/ae047a28a825aac255e436fd8ccaf785=0A>> =0A>> =0A> =0A> I think =
clang defaults to armv4t if the arch is just 'arm'. =A0You should=0A> be ab=
le to fix this by building everything with CPUTYPE=3Darmv4. =A0Put=0A> that=
 in your make.conf file. =A0If you are doing a cross build do not put=0A> i=
t in your main /etc/make.conf, instead create another file somewhere,=0A> a=
nd add this to the make command line when you crossbuild: =A0=0A> __MAKE_CO=
NF=3D/somewhere/make.conf=A0=0A> =0A> You will have to rebuild everything (=
make clean).=0A> =0A> -- Ian=0A> =0A>>=A0=A0init is broken at armv4.=A0=0A>=
> =0A>>=A0=A0I checked init is not use arm4t instrauction(bx).=0A>> =0A>>=
=A0=A0I seem crt problem on armv4.=0A>> =0A>>=A0=A0BTW I post review geom_f=
lashmap scan capability.=0A>>=A0=A0This is same as geom_map=A0capability.=
=0A>> =0A>>=A0=A0https://reviews.freebsd.org/D13648=0A>>; =0A>> =0A>>=A0=A0T=
his is ad hoc method. But It's useful for flash file system.=A0=0A>> =0A>>=
=A0=A0Thanks=0A>> =0A>>=A0=A0Hiroki Mori=0A>> =0A>>=A0=A0----- Original Mes=
sage -----=0A>>=A0=A0> =0A>>=A0=A0> From: Ian Lepore <ian@freebsd.org>=0A>>=
=A0=A0> To: Warner Losh <imp@bsdimp.com>; Mori Hiroki =0A> <yamori813@yahoo=
.co.j=0A>>=A0=A0> p>=0A>>=A0=A0> Cc: "freebsd-arm@freebsd.org" =0A> <freebs=
d-arm@freebsd.org>=0A>>=A0=A0> Date: 2018/3/13, Tue 02:41=0A>>=A0=A0> Subje=
ct: Re: Dose clang support armv4=0A>>=A0=A0> =0A>>=A0=A0> On Mon, 2018-03-1=
2 at 10:43 -0600, Warner Losh wrote:=0A>>=A0=A0> > =0A>>=A0=A0> > =A0Hi Mor=
i-san,=0A>>=A0=A0> > =0A>>=A0=A0> > =A0I've not tried my armv4 boards with =
clang 6 yet.=0A>>=A0=A0> > =0A>>=A0=A0> > =A0However, you are hanging in mo=
untroot. What's normally =0A> printed=0A>>=A0=A0> > there?=0A>>=A0=A0> > =
=A0Ian=0A>>=A0=A0> > =A0just did some things to fix it for USB ad ZFS. Mayb=
e that broke=0A>>=A0=A0> > this=0A>>=A0=A0> > =A0use=0A>>=A0=A0> > =A0case =
accidentally.=0A>>=A0=A0> > =0A>>=A0=A0> > =A0Warner=0A>>=A0=A0> > =0A>>=A0=
=A0> Unfortunately, my only armv4/5 system that's anywhere close to=0A>>=A0=
=A0> bootable=0A>>=A0=A0> =A0right now is a Dreamplug, and it also hangs at=
 mountroot, but for=0A>>=A0=A0> a=0A>>=A0=A0> different reason: somehow its=
 ethernet driver gets a continuous =0A> "RX=0A>>=A0=A0> error" interrupt st=
orm (and my rootfs is on nfs). =A0I haven't =0A> had=0A>>=A0=A0> time=0A>>=
=A0=A0> to try putting together a rootfs on sdcard or sata to see if it=0A>=
>=A0=A0> boots=0A>>=A0=A0> all the way.=0A>>=A0=A0> =0A>>=A0=A0> -- Ian=0A>=
>=A0=A0> =0A>>=A0=A0_______________________________________________=0A>>=A0=
=A0freebsd-arm@freebsd.org mailing list=0A>>=A0=A0https://lists.freebsd.org=
/mailman/listinfo/freebsd-arm=0A>>=A0=A0To unsubscribe, send any mail to "f=
reebsd-arm-unsubscribe@freebsd.org=0A>>=A0=A0"=0A>> =0A> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?879567.21647.qm>