summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Richard W.M. Jones [Thu, 11 Aug 2016 21:31:08 +0000 (22:31 +0100)]
Cross-compile vim into stage3 chroot because I'm sick of nano :-)
Richard W.M. Jones [Thu, 11 Aug 2016 19:38:51 +0000 (20:38 +0100)]
Cross-compile gawk into stage3 chroot, required to rebuild glibc.
Richard W.M. Jones [Thu, 11 Aug 2016 18:54:46 +0000 (19:54 +0100)]
Add stage3 build of zlib.
Richard W.M. Jones [Thu, 11 Aug 2016 16:31:11 +0000 (17:31 +0100)]
Add xz-devel to base stage3 chroot list of packages.
Richard W.M. Jones [Thu, 11 Aug 2016 15:33:53 +0000 (16:33 +0100)]
Add stage3 built RPMs.
The SRPMS are built using:
fedpkg srpm
on an x86_64 host.
The RPMS are built inside the RISC-V emulator using the cross-compiled
rpmbuild binary.
Richard W.M. Jones [Thu, 11 Aug 2016 14:52:48 +0000 (15:52 +0100)]
Add xz / lzma, required by RPM.
Richard W.M. Jones [Thu, 11 Aug 2016 10:42:43 +0000 (11:42 +0100)]
Further fixes to RPM.
This should fix the %{_arch} issue.
Richard W.M. Jones [Thu, 11 Aug 2016 09:29:02 +0000 (10:29 +0100)]
rpm: Set vendor to 'redhat'.
Matches what the Fedora packages does, and also should fix the
macros path.
Richard W.M. Jones [Thu, 11 Aug 2016 07:41:07 +0000 (08:41 +0100)]
Add iso-codes.noarch to the stage3 chroot.
Richard W.M. Jones [Thu, 11 Aug 2016 07:13:34 +0000 (08:13 +0100)]
Add readline and lua.
Lua is required by several RPM packages in the early
Fedora bootstrap.
Readline is required by Lua, but also by bash and a few
other things so it's a good thing to have.
Richard W.M. Jones [Wed, 10 Aug 2016 21:40:03 +0000 (22:40 +0100)]
Add all packages to stage3 packages list.
Richard W.M. Jones [Wed, 10 Aug 2016 21:39:40 +0000 (22:39 +0100)]
Remove *.la files after gcc build.
Fixes commit
106748c4b14415206f5d81d78d0a2529b1b2edac.
Richard W.M. Jones [Wed, 10 Aug 2016 21:31:26 +0000 (22:31 +0100)]
Add GNU gettext to stage3 chroot.
This is required to build the 'iso-codes' RPM.
Richard W.M. Jones [Wed, 10 Aug 2016 20:51:16 +0000 (21:51 +0100)]
Various hacks to get GCC to compile.
Don't pass CC etc variables down to libgcc directory, since that
stops it from being cross-compiled.
sys/sdt.h (part of systemtap) is not available, so comment it out.
Richard W.M. Jones [Wed, 10 Aug 2016 17:36:01 +0000 (18:36 +0100)]
init: Set the hostname to 'stage3.fedoraproject.org'.
Also, add 'hostname' program to the stage3 chroot.
Richard W.M. Jones [Wed, 10 Aug 2016 17:34:36 +0000 (18:34 +0100)]
rpm: Map kernel 'riscv' to 'riscv64'.
Try to set %{_arch} correctly in rpmbuild.
Richard W.M. Jones [Wed, 10 Aug 2016 17:04:56 +0000 (18:04 +0100)]
Add diffutils (diff), findutils (find), sed and patch to the stage3 chroot.
Richard W.M. Jones [Wed, 10 Aug 2016 17:01:36 +0000 (18:01 +0100)]
Upgrade to file 5.28, since file 5.25 segfaults in libmagic:magic_close.
Richard W.M. Jones [Wed, 10 Aug 2016 16:30:03 +0000 (17:30 +0100)]
Build RPM after bzip2, and fix bzip2 to use -fPIC.
Fix bzip2 so it builds its library with -fPIC.
RPM can use libbzip2, so build it later, after bzip2 has been built.
Richard W.M. Jones [Wed, 10 Aug 2016 14:51:28 +0000 (15:51 +0100)]
init: Set clock from filesystem.
There is no hardware clock in the hypervisors we are using. To ensure
that the time isn't wildly wrong, set the system time to the timstamp
of '/usr/bin'.
Richard W.M. Jones [Wed, 10 Aug 2016 14:51:24 +0000 (15:51 +0100)]
Ignore .gdb_history file.
Richard W.M. Jones [Wed, 10 Aug 2016 14:27:22 +0000 (15:27 +0100)]
Add GNU make to the stage3 chroot.
Richard W.M. Jones [Wed, 10 Aug 2016 14:17:41 +0000 (15:17 +0100)]
Add bzip2 to the stage3 chroot.
Richard W.M. Jones [Wed, 10 Aug 2016 14:17:18 +0000 (15:17 +0100)]
Note that strace does not work.
Updates commit
0ceb56b609b17a7e3202aaf98361be90fb40955e.
Richard W.M. Jones [Wed, 10 Aug 2016 11:11:14 +0000 (12:11 +0100)]
Add patches to make rpm work.
Richard W.M. Jones [Tue, 9 Aug 2016 21:25:09 +0000 (22:25 +0100)]
Add strace to the stage3 chroot.
Richard W.M. Jones [Tue, 9 Aug 2016 21:07:44 +0000 (22:07 +0100)]
rpm: Remove unnecessary libtool fix.
Richard W.M. Jones [Tue, 9 Aug 2016 17:59:32 +0000 (18:59 +0100)]
Add nano (editor), grep and less to the stage3 chroot, for usability.
Richard W.M. Jones [Tue, 9 Aug 2016 17:27:01 +0000 (18:27 +0100)]
Patch RPM with initial riscv64 support.
Richard W.M. Jones [Tue, 9 Aug 2016 18:40:03 +0000 (19:40 +0100)]
Fix ncurses build, and build util-linux tools which need ncurses/libtinfo.
Richard W.M. Jones [Tue, 9 Aug 2016 16:28:58 +0000 (17:28 +0100)]
init: Don't set LD_LIBRARY_PATH, run ldconfig with paths instead.
Richard W.M. Jones [Tue, 9 Aug 2016 16:27:08 +0000 (17:27 +0100)]
Create mount.static and use it for mounting the filesystems.
This is less error-prone, particularly as for some inexplicable reason
regular mount has stopped working.
Richard W.M. Jones [Tue, 9 Aug 2016 15:38:28 +0000 (16:38 +0100)]
util-linux: Kill *.la files.
Richard W.M. Jones [Tue, 9 Aug 2016 15:38:17 +0000 (16:38 +0100)]
init: Run ldconfig
Richard W.M. Jones [Tue, 9 Aug 2016 15:30:11 +0000 (16:30 +0100)]
Fix util-linux install rule.
Richard W.M. Jones [Tue, 9 Aug 2016 13:19:34 +0000 (14:19 +0100)]
Add RPM / rpmbuild to the stage3 chroot.
Richard W.M. Jones [Tue, 9 Aug 2016 15:13:21 +0000 (16:13 +0100)]
Religiously remove *.la files from chroot.
See http://www.metastatic.org/text/libtool.html
Richard W.M. Jones [Tue, 9 Aug 2016 15:02:09 +0000 (16:02 +0100)]
Fix a few /home/... paths accidentally added to the repo.
Richard W.M. Jones [Tue, 9 Aug 2016 13:48:10 +0000 (14:48 +0100)]
Richard W.M. Jones [Tue, 9 Aug 2016 12:35:31 +0000 (13:35 +0100)]
Add popt to stage3 chroot.
Richard W.M. Jones [Tue, 9 Aug 2016 12:32:19 +0000 (13:32 +0100)]
Add file / libmagic to stage3 chroot.
Richard W.M. Jones [Tue, 9 Aug 2016 11:31:45 +0000 (12:31 +0100)]
Add tar, gzip, zlib to stage3 chroot.
Richard W.M. Jones [Tue, 9 Aug 2016 10:49:07 +0000 (11:49 +0100)]
Add a note about how GCC build is broken, for future investigation.
Richard W.M. Jones [Sat, 6 Aug 2016 19:36:44 +0000 (20:36 +0100)]
Cross-compile binutils into stage3 chroot.
Richard W.M. Jones [Sat, 6 Aug 2016 18:52:47 +0000 (19:52 +0100)]
Add /usr/lib64 to the library search path in init script.
Richard W.M. Jones [Sat, 6 Aug 2016 14:47:23 +0000 (15:47 +0100)]
Mount some standard filesystems like /proc in the stage3 init.
Richard W.M. Jones [Sat, 6 Aug 2016 15:15:34 +0000 (16:15 +0100)]
Cross-compile util-linux into stage3 chroot.
Richard W.M. Jones [Sat, 6 Aug 2016 15:15:09 +0000 (16:15 +0100)]
Cross-compile ncurses into stage3 chroot.
Richard W.M. Jones [Sat, 6 Aug 2016 11:31:25 +0000 (12:31 +0100)]
Cross-compile GCC into stage3 chroot.
Richard W.M. Jones [Sat, 6 Aug 2016 11:31:09 +0000 (12:31 +0100)]
Add rule to upload stage3 disk image to webserver.
Richard W.M. Jones [Sat, 6 Aug 2016 08:34:18 +0000 (09:34 +0100)]
Cross-compile coreutils.
Richard W.M. Jones [Sat, 6 Aug 2016 07:57:43 +0000 (08:57 +0100)]
Add 'boot-stage3-in-spike' and 'boot-stage3-in-qemu' targets.
These helpers boot the stage3 disk image in Spike or QEMU
respectively.
Richard W.M. Jones [Sat, 6 Aug 2016 06:51:10 +0000 (07:51 +0100)]
Add /init script to the stage3 disk.
Richard W.M. Jones [Fri, 5 Aug 2016 19:45:14 +0000 (20:45 +0100)]
Add CONFIG_CMDLINE to kernel.
Required when using Spike. See:
https://stackoverflow.com/questions/
32846037/how-to-specify-kernel-parameters-in-spike-riscv
Richard W.M. Jones [Thu, 4 Aug 2016 16:20:38 +0000 (17:20 +0100)]
Build stage 3 chroot and disk image.
So far only contains glibc & bash.
Richard W.M. Jones [Thu, 4 Aug 2016 22:28:37 +0000 (23:28 +0100)]
riscv-gnu-toolchain: Enable build of GCC linked against glibc.
Richard W.M. Jones [Thu, 4 Aug 2016 13:27:08 +0000 (14:27 +0100)]
Build stage3 kernel from the linux-4.1.y-riscv branch of https://github.com/riscv/riscv-linux
Richard W.M. Jones [Thu, 4 Aug 2016 12:26:02 +0000 (13:26 +0100)]
Fix missing file for riscv-pk package.
Richard W.M. Jones [Thu, 4 Aug 2016 11:01:11 +0000 (12:01 +0100)]
Package the RISCV emulator (Spike).
Richard W.M. Jones [Thu, 4 Aug 2016 11:03:49 +0000 (12:03 +0100)]
Fix GNU toolchain doc files.
Richard W.M. Jones [Thu, 4 Aug 2016 10:17:57 +0000 (11:17 +0100)]
Patch GCC 5 so it can be compiled with GCC 6.
Richard W.M. Jones [Thu, 4 Aug 2016 09:45:08 +0000 (10:45 +0100)]
Add commits to the Makefile and generate spec files from there.
Also choose a working set of commits based on RISCV priv 1.7.
Richard W.M. Jones [Tue, 2 Aug 2016 13:00:16 +0000 (14:00 +0100)]
Update current status in README.
Richard W.M. Jones [Mon, 1 Aug 2016 15:51:50 +0000 (16:51 +0100)]
Add stage 3 kernel cross-build.
Richard W.M. Jones [Mon, 1 Aug 2016 14:42:56 +0000 (15:42 +0100)]
Forbid stripping of libraries which breaks them.
Richard W.M. Jones [Mon, 1 Aug 2016 14:09:35 +0000 (15:09 +0100)]
Add stage 2 riscv-pk package, containing the Berkeley bootloader (bbl).
Richard W.M. Jones [Sun, 31 Jul 2016 19:26:41 +0000 (20:26 +0100)]
Add stage 2 RISC-V GNU toolchain
Richard W.M. Jones [Mon, 1 Aug 2016 13:51:05 +0000 (14:51 +0100)]
Rename copr project to just 'riscv'
Richard W.M. Jones [Fri, 29 Jul 2016 14:53:21 +0000 (15:53 +0100)]
Initial commit.