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>
index | next in thread | previous in thread | raw e-mail
Hi I use ZRouter build system and make arm-boot image. I add to armv4 setting ZRouter. Also I make change to mov from bx instruction at this directory assembly code. secure/lib/libcrypto/arm/ contrib/compiler-rt/lib/builtins/arm/ I checked bx instruction at kernel and init binary. There is nothing. It's right armv4 binary. If dts have bad geom_flashmap infomation then hang up at pause() at vfs_mountroot.c. This time can't use break. I think nearly close... Hiroki Mori ----- Original Message ----- > From: Ian Lepore <ian@freebsd.org> > To: Mori Hiroki <yamori813@yahoo.co.jp>; Warner Losh <imp@bsdimp.com> > Cc: "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org> > Date: 2018/3/14, Wed 08:14 > Subject: Re: Dose clang support armv4 > > On Tue, 2018-03-13 at 15:28 +0900, Mori Hiroki wrote: >> Hi >> >> Thanks for reply. >> >> I'm sorry last log is missing geom_flashmap dts entry. >> >> I use to cfi rootfs. >> >> >> Now rootfs mount and execute init. >> >> https://gist.github.com/yamori813/ae047a28a825aac255e436fd8ccaf785 >> >> > > I think clang defaults to armv4t if the arch is just 'arm'. You should > be able to fix this by building everything with CPUTYPE=armv4. Put > that in your make.conf file. If you are doing a cross build do not put > it in your main /etc/make.conf, instead create another file somewhere, > and add this to the make command line when you crossbuild: > __MAKE_CONF=/somewhere/make.conf > > You will have to rebuild everything (make clean). > > -- Ian > >> init is broken at armv4. >> >> I checked init is not use arm4t instrauction(bx). >> >> I seem crt problem on armv4. >> >> BTW I post review geom_flashmap scan capability. >> This is same as geom_map capability. >> >> https://reviews.freebsd.org/D13648 >> >> >> This is ad hoc method. But It's useful for flash file system. >> >> Thanks >> >> Hiroki Mori >> >> ----- Original Message ----- >> > >> > From: Ian Lepore <ian@freebsd.org> >> > To: Warner Losh <imp@bsdimp.com>; Mori Hiroki > <yamori813@yahoo.co.j >> > p> >> > Cc: "freebsd-arm@freebsd.org" > <freebsd-arm@freebsd.org> >> > Date: 2018/3/13, Tue 02:41 >> > Subject: Re: Dose clang support armv4 >> > >> > On Mon, 2018-03-12 at 10:43 -0600, Warner Losh wrote: >> > > >> > > Hi Mori-san, >> > > >> > > I've not tried my armv4 boards with clang 6 yet. >> > > >> > > However, you are hanging in mountroot. What's normally > printed >> > > there? >> > > Ian >> > > just did some things to fix it for USB ad ZFS. Maybe that broke >> > > this >> > > use >> > > case accidentally. >> > > >> > > Warner >> > > >> > Unfortunately, my only armv4/5 system that's anywhere close to >> > bootable >> > right now is a Dreamplug, and it also hangs at mountroot, but for >> > a >> > different reason: somehow its ethernet driver gets a continuous > "RX >> > error" interrupt storm (and my rootfs is on nfs). I haven't > had >> > time >> > to try putting together a rootfs on sdcard or sata to see if it >> > boots >> > all the way. >> > >> > -- Ian >> > >> _______________________________________________ >> freebsd-arm@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-arm >> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org >> " >> >help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?879567.21647.qm>
