pub/scm/linux/kernel/git/lkundrak/cforth.git  about / heads / tags
CForth tree of Lubomir Rintel
$ git log --pretty=format:'%h %s (%cs)%d'
ebb0470 arm-xo-1.75: fix OLPC build (2020-02-11)
	(HEAD -> master)
815214e arm-stm32f103 - fixed build problems (2020-02-09)
e6f2c48 arm-ariel: add support for Dell Wyse 3020 machine (2020-02-09)
b1396ea arm-mmp2: s/create cl4/create mmp3/ (2020-02-09)
e32a267 arm-mmp2: move "third" word to lcd.fth (2020-02-09)
301659f arm-xo-1.75: conditionalize protect-fw on sec-trg-gpio# (2020-02-09)
bc0eaf9 arm-xo-cl4: fix build (2020-02-09)
c275f65 arm-xo-1.75: default to using the cross-compiler (2020-01-26)
34cd4d2 arm-xo-1.75: check that we don't use Thumb instructions (2020-01-26)
d348a96 OLPC XO-1.75 - DCON drive strength change, #12852 (2019-11-08)
...

$ git cat-file blob HEAD:README
This is a version of Mitch Bradley's C Forth system that
has been optimized for embedded use in semi-constrained
systems such as System On Chip processors.

To port it to a new system, you will need to add some or all
of the following new directories and files:

a) CPU-dependent code and compiler definitions in src/cpu/*
b) Platform-dependent code in src/platform/*
c) Application-specific code in app/*
d) Build directories for your versions in build/*

There is a test build directory build/template .  You can
copy that template directory to a new name as a starting
point for your version.

Typing "make" in build/template will make a test version.
It builds a host image and a target image for the same
CPU as the host.  The target image contains stub routines
for system I/O and startup, so it probably won't run,
but host image should work:

   $ cd build/template
   $ make
   $ ./forth app.dic
   $ C Forth  Copyright (c) 2008 FirmWorks
   ok bye
   $ 

The "forth" executable program is a version of the Forth core kernel
(the equivalent of "code words") that runs on the compilation host
system.  It loads a "dictionary file" like "app.dic", which is a
machine-independent representation of a Forth dictionary containing
compiled colon definitions and other objects.

The target executable "app.elf" (or its raw-binary equivalent
"app.img") contains both a target version of the executable program
and an embedded copy of "app.dic".  To make it run on a real
target system, you would have to link it with appropriate startup
code and other necessary CPU and platform I/O routines for your
specific target.

The host and target systems need not use the same CPU - the
target can be cross-compiled.

Read the Makefile in the build/template to see how to configure
the CPU, the platform code, and the application code.

There is some ARM-specific code in cpu/arm and subdirectories
thereof.  At one point that code worked on an AT91SAM7 system,
but the build is currently broken as a result of a tree reorg.

# heads (aka `branches'):
$ git for-each-ref --sort=-creatordate refs/heads \
	--format='%(HEAD) %(refname:short) %(subject) (%(creatordate:short))'
* master       arm-xo-1.75: fix OLPC build (2020-02-11)

# tags:
$ git for-each-ref --sort=-creatordate refs/tags \
	--format='%(refname:short) %(subject) (%(creatordate:short))'
# no tags, yet...

# associated public inboxes:
# (number on the left is used for dev purposes)
         20 lkml
          9 qemu-devel
          8 netdev
          7 linux-devicetree
          7 dri-devel
          7 u-boot
          6 linux-btrfs
          5 linux-wireless
          5 linux-arm-kernel
          5 linuxppc-dev
          4 linux-fsdevel
          4 linux-rdma
          4 linux-doc
          4 git
          4 intel-gfx
          4 linux-omap
          4 buildroot
          4 openembedded-core
          4 openembedded-devel
          3 linux-riscv
          3 linux-nvme
          3 linux-xfs
          3 linux-mediatek
          3 linux-crypto
          3 netfilter-devel
          3 linux-mips
          3 fstests
          3 linux-rtc
          3 linux-scsi
          3 linux-clk
          3 dpdk-dev
          3 linux-pci
          3 kvm
          3 linux-ide
          3 linux-watchdog
          3 linux-trace-devel
          3 amd-gfx
          3 linux-i2c
          3 linux-rockchip
          3 linux-sh
          3 nouveau
          3 kexec
          3 poky
          3 cluster-devel
          3 cgroups
          2 linux-samsung-soc
          2 linux-mtd
          2 linux-block
          2 bpf
          2 linux-nfs
          2 linux-acpi
          2 linux-cifs
          2 linux-amlogic
          2 linux-erofs
          2 linux-mm
          2 linux-nvdimm
          2 linux-iommu
          2 linux-media
          2 xen-devel
          2 stable
          2 linux-pm
          2 linux-input
          2 alsa-devel
          2 kvmarm
          2 driverdev-devel
          2 linux-usb
          2 linux-kselftest
          2 selinux
          2 linux-iio
          2 linux-gpio
          2 linux-ext4
          2 linux-security-module
          2 linux-f2fs-devel
          2 linux-modules
          2 linux-rt-users
          2 linux-bluetooth
          2 linux-serial
          2 util-linux
          2 backports
          2 linux-man
          2 linux-mmc
          2 linux-api
          2 cip-dev
          2 linux-spi
          2 linux-sparse
          2 linux-pwm
          2 linux-tegra
          2 lttng-dev
          2 virtualization
          2 linux-kbuild
          2 linux-arch
          2 linux-can
          2 containers
          2 linux-raid
          2 openbmc
          2 dm-devel
          2 linux-fbdev
          2 linux-cxl
          2 linux-perf-users
          2 linux-s390
          2 sparclinux
          2 linux-coco
          2 nvdimm
          2 iwd
          2 ltp
          2 yocto
          2 yocto-meta-freescale
          2 yocto-toaster
          2 yocto-meta-arm
          2 bitbake-devel
          2 yocto-meta-virtualization
          2 yocto-meta-ti
          2 yocto-meta-arago
          2 outreachy
          2 openrisc
          2 intel-wired-lan
          2 linux-trace-kernel
          2 intel-xe
          2 linux-um
          2 virtio-comment
          2 qemu-riscv
          2 grub-devel
          2 kvm-ppc
          2 linux-hexagon
          2 reiserfs-devel
          2 linux-nilfs
          2 lm-sensors
          2 lvm-devel
          2 virtio-fs
          2 ../../../../../../../fuego
          2 ../../../../../../../igt-dev
          1 linux-fscrypt
          1 cocci
          1 live-patching
          1 linux-efi
          1 linux-integrity
          1 linux-edac
          1 linux-arm-msm
          1 linux-snps-arc
          1 linux-hwmon
          1 linux-renesas-soc
          1 kernel-hardening
          1 dmaengine
          1 linux-next
          1 linux-parisc
          1 linux-leds
          1 kernelnewbies
          1 linux-sgx
          1 linux-hyperv
          1 workflows
          1 rcu
          1 selinux-refpolicy
          1 linux-m68k
          1 linux-i3c
          1 linux-spdx
          1 linux-wpan
          1 ksummit-discuss
          1 wireguard
          1 io-uring
          1 linux-kernel-mentees
          1 linux-csky
          1 tpmdd-devel
          1 linux-unionfs
          1 linux-firmware
          1 linux-audit
          1 linux-remoteproc
          1 linux-dash
          1 linux-bcache
          1 mm-commits
          1 linux-fpga
          1 ceph-devel
          1 xdp-newbies
          1 platform-driver-x86
          1 phone-devel
          1 linux-hardening
          1 dash
          1 keyrings
          1 linux-sctp
          1 target-devel
          1 lustre-devel
          1 soc
          1 ocfs2-devel
          1 rust-for-linux
          1 ath10k
          1 ath11k
          1 linux-phy
          1 kernel-janitors
          1 linux-staging
          1 linux-sunxi
          1 mptcp
          1 regressions
          1 ksummit
          1 b43-dev
          1 linux-nfc
          1 linux-bcachefs
          1 ath9k-devel
          1 ntfs3
          1 llvm
          1 fio
          1 ell
          1 ofono
          1 yocto-docs
          1 linux-patches
          1 chrome-platform
          1 ntb
          1 xenomai
          1 damon
          1 asahi
          1 loongarch
          1 imx
          1 ath12k
          1 b4-sent
          1 oe-linux-nfc
          1 oe-kbuild-all
          1 oe-chipsec
          1 batman
          1 virtio-dev
          1 v9fs
          1 ecryptfs
          1 linux-ia64
          1 kbd
          1 autofs
          1 cpufreq
          1 dccp
          1 devicetree-spec
          1 devicetree-compiler
          1 initramfs
          1 hail-devel
          1 kvm-ia64
          1 linux-8086
          1 kernel-testers
          1 linux-alpha
          1 linux-btrace
          1 linux-embedded
          1 linux-hams
          1 linux-hotplug
          1 linux-laptop
          1 linux-sound
          1 trinity
          1 linux-metag
          1 linux-x25
          1 lvs-devel
          1 netfilter
          1 linux-oxnas
          1 u-boot-amlogic
          1 acpica-devel
          1 perfbook
          1 smatch
          1 ../../../../../../../wireless-regdb
          1 ../../../../../../../powertop

git clone https://yhbt.net/lore/pub/scm/linux/kernel/git/lkundrak/cforth.git