Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| builderpages:mikemac:cb030 [2025/11/30 01:58] – Revision from 2025-11-30 | builderpages:mikemac:cb030 [2026/06/15 13:02] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | /* Imported from Wayback Machine | ||
| + | | ||
| + | | ||
| + | | ||
| + | */ | ||
| + | |||
| + | Here are the files needed to run Linux on [[builderpages: | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ===== March 30,2020 Release ===== | ||
| + | |||
| + | This is the initial release of a boot loader for the CB030 based upon Tobster' | ||
| + | |||
| + | ==== Boot Loader ==== | ||
| + | |||
| + | Before you can run use the boot loader, you'll need Updated CPLD from Plasmo' | ||
| + | |||
| + | [[https:// | ||
| + | |||
| + | [[https:// | ||
| + | |||
| + | [[https:// | ||
| + | |||
| + | [[https:// | ||
| + | |||
| + | The boot loader (via 0.cmd) will load the initrd and linux kernel and launch Linux. There should be a msdos or fat partition (**NOT** a vfat or any extended FAT partition type as the boot loader doesn' | ||
| + | |||
| + | <code code> | ||
| + | Mercury=> | ||
| + | total 4166 | ||
| + | -rwxr-xr-x 1 root root 191 Mar 27 12:28 0.cmd | ||
| + | -rwxr-xr-x 1 root root 1132600 Mar 29 12:00 initrd.gz | ||
| + | -rwxr-xr-x 1 root root 3124952 Mar 30 11:43 linux.bin | ||
| + | Mercury=> | ||
| + | </ | ||
| + | |||
| + | And this is how I have my 4GB CF card (Transcend TS4GCF133)partitioned: | ||
| + | |||
| + | <code code> | ||
| + | | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | </ | ||
| + | |||
| + | And I formatted the partitions under Linux using these commands: | ||
| + | |||
| + | <code code> | ||
| + | | ||
| + | | ||
| + | | ||
| + | </ | ||
| + | |||
| + | During initialization, | ||
| + | |||
| + | Once you get the Linux login prompt, **root** is the account name and there is no password. You should then be greeted by the shell prompt and a //normal// Linux experience. | ||
| + | |||
| + | ==== Linux Images ==== | ||
| + | |||
| + | [[https:// | ||
| + | |||
| + | [[https:// | ||
| + | |||
| + | [[https:// | ||
| + | |||
| + | ==== Sources ==== | ||
| + | |||
| + | [[https:// | ||
| + | |||
| + | [[https:// | ||
| + | |||
| + | To build the boot loader, you'll need a m68k cross compiler along with newlib built for the m68k. I then use this command to build the image: | ||
| + | |||
| + | <code code> | ||
| + | =>make BOARD=cb030 clean && make BOARD=cb030 | ||
| + | </ | ||
| + | |||
| + | To build the Linux kernel, I use these commands: | ||
| + | |||
| + | <code code> | ||
| + | =>make ARCH=m68k CROSS_COMPILE=m68k-elf- cb030_defconfig | ||
| + | =>make ARCH=m68k CROSS_COMPILE=m68k-elf- -j6 vmlinux && m68k-elf-objcopy -Obinary vmlinux linux.bin | ||
| + | </ | ||
| + | |||
| + | You only have to make cb030_defconfig once. To change the build options, use: | ||
| + | |||
| + | <code code> | ||
| + | =>make ARCH=m68k CROSS_COMPILE=m68k-elf- menuconfig | ||
| + | =>make ARCH=m68k CROSS_COMPILE=m68k-elf- -j6 vmlinux && m68k-elf-objcopy -Obinary vmlinux linux.bin | ||
| + | </ | ||
| + | |||
| + | ---- | ||
