• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

thirtythreeforty/businesscard-linux: A Buildroot distribution small enough to ru ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

thirtythreeforty/businesscard-linux

开源软件地址(OpenSource Url):

https://github.com/thirtythreeforty/businesscard-linux

开源编程语言(OpenSource Language):

Makefile 90.7%

开源软件介绍(OpenSource Introduction):

Business Card Linux

Actions Status

This is the Linux distribution small enough to run from the 8MB of storage on my Linux-powered business card. It is powered by the Allwinner F1C100s, a $1.40 Linux-capable ARM system-on-chip. This repository is the source code for its firmware image, based on Buildroot 2019.05. This directory is a "Buildroot external," providing a few patches, additional packages, and board support files on top of mainline Buildroot.

For a complete write-up, see my blog post about the project.

business card top

Patched Linux and U-Boot

I lightly patched the Linux kernel and U-Boot to get all the hardware peripherals working. You can find my forks here:

  • Linux v5.0.2 (patched to enable USB gadget mode)
  • U-Boot (patched to support the F1C100s)

Build

Make sure submodules are initialized:

git submodule update --init

Change to the top-level Buildroot directory:

cd buildroot

Initialize the configuration, including the defconfig and this external directory:

make BR2_EXTERNAL=$PWD/../ thirtythreeforty_businesscard_defconfig

And compile:

make

This may take a couple hours to do from scratch, depending on the speed of your machine.

Installation

If you have a Lichee Pi Nano with a flash chip, or one of my blank business cards, you can flash it with the following command. Make sure the board is in FEL mode using dmesg or similar.

output/host/bin/sunxi-fel -p spiflash-write 0 output/images/flash.bin

You can erase the card after it boots by simply logging in (as root) and erasing the flash manually:

dd if=/dev/zero of=/dev/mtd0

Don't erase it unless you're prepared to burn a new image!

License

Subject to the below exceptions, code is released under the GNU General Public License, version 2 or (at your option) any later version. See also the Buildroot license notice for more nuances about the meaning of this license.

Patches are not covered by this license. Instead, they are covered by the license of the software to which the patches are applied.

Finally, files in the businesscard-flashdrive package, including its README, my resume, and my photography, remain proprietary and are not released under the GPL. If you would like to build your own firmware based on this, simply remove those files, or deselect the package during build.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap