c.h.i.p. the world's first nine dollar computer · except for the nand flash the first-stage...
TRANSCRIPT
![Page 1: C.H.I.P. The world's first nine dollar computer · Except for the NAND flash The first-stage loader (SPL) supports loading the second stage (u-boot) from NAND already But u-boot is](https://reader033.vdocuments.site/reader033/viewer/2022050205/5f588a1507951e41df314dd6/html5/thumbnails/1.jpg)
Hans de GoedePresented by
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License
C.H.I.P. The world's firstnine dollar computer
![Page 2: C.H.I.P. The world's first nine dollar computer · Except for the NAND flash The first-stage loader (SPL) supports loading the second stage (u-boot) from NAND already But u-boot is](https://reader033.vdocuments.site/reader033/viewer/2022050205/5f588a1507951e41df314dd6/html5/thumbnails/2.jpg)
Today's Topics
1. Introducing myself
2. Introducing the C.H.I.P.
3. C.H.I.P. accessories
4. C.H.I.P. upstream support status
5. Demo?
6. Questions
![Page 3: C.H.I.P. The world's first nine dollar computer · Except for the NAND flash The first-stage loader (SPL) supports loading the second stage (u-boot) from NAND already But u-boot is](https://reader033.vdocuments.site/reader033/viewer/2022050205/5f588a1507951e41df314dd6/html5/thumbnails/3.jpg)
Introducing myself
![Page 4: C.H.I.P. The world's first nine dollar computer · Except for the NAND flash The first-stage loader (SPL) supports loading the second stage (u-boot) from NAND already But u-boot is](https://reader033.vdocuments.site/reader033/viewer/2022050205/5f588a1507951e41df314dd6/html5/thumbnails/4.jpg)
Software Engineer working for Red Hat on USB, human input devices and nouveau
Not affiliated with Next Thing Co., the makers of the C.H.I.P. in any way
Working on u-boot and kernel support for Allwinner SoCs in my spare time
Introducing myself
![Page 5: C.H.I.P. The world's first nine dollar computer · Except for the NAND flash The first-stage loader (SPL) supports loading the second stage (u-boot) from NAND already But u-boot is](https://reader033.vdocuments.site/reader033/viewer/2022050205/5f588a1507951e41df314dd6/html5/thumbnails/5.jpg)
Introducing the C.H.I.P.
![Page 6: C.H.I.P. The world's first nine dollar computer · Except for the NAND flash The first-stage loader (SPL) supports loading the second stage (u-boot) from NAND already But u-boot is](https://reader033.vdocuments.site/reader033/viewer/2022050205/5f588a1507951e41df314dd6/html5/thumbnails/6.jpg)
A full computer for $9 in 60mm x 41mm
The C.H.I.P.
![Page 7: C.H.I.P. The world's first nine dollar computer · Except for the NAND flash The first-stage loader (SPL) supports loading the second stage (u-boot) from NAND already But u-boot is](https://reader033.vdocuments.site/reader033/viewer/2022050205/5f588a1507951e41df314dd6/html5/thumbnails/7.jpg)
Allwinner R8 SoC
1GHz Cortex A8
Mali400 GPU
512MB DDR3 RAM
4 GB Nand flash storage
R8 Module
![Page 8: C.H.I.P. The world's first nine dollar computer · Except for the NAND flash The first-stage loader (SPL) supports loading the second stage (u-boot) from NAND already But u-boot is](https://reader033.vdocuments.site/reader033/viewer/2022050205/5f588a1507951e41df314dd6/html5/thumbnails/8.jpg)
802.11b/g/n 1/1 2.4 GHz
Bluetooth 4.0
RTL8723BS wifi/bt
![Page 9: C.H.I.P. The world's first nine dollar computer · Except for the NAND flash The first-stage loader (SPL) supports loading the second stage (u-boot) from NAND already But u-boot is](https://reader033.vdocuments.site/reader033/viewer/2022050205/5f588a1507951e41df314dd6/html5/thumbnails/9.jpg)
USB-A connected to an EHCI/OHCI controller pair
3.5mm headphone jack:
Stereo audio out
Microphone in or composite video out selected by jumper
Micro USB-B USB-2 OTG
LiOn / LiPo battery connector
Connectors
![Page 10: C.H.I.P. The world's first nine dollar computer · Except for the NAND flash The first-stage loader (SPL) supports loading the second stage (u-boot) from NAND already But u-boot is](https://reader033.vdocuments.site/reader033/viewer/2022050205/5f588a1507951e41df314dd6/html5/thumbnails/10.jpg)
Headers
![Page 11: C.H.I.P. The world's first nine dollar computer · Except for the NAND flash The first-stage loader (SPL) supports loading the second stage (u-boot) from NAND already But u-boot is](https://reader033.vdocuments.site/reader033/viewer/2022050205/5f588a1507951e41df314dd6/html5/thumbnails/11.jpg)
LCD pins D2-D5: UART2
LCD pins other: 100Mbit eth (with external phy)
CSI clks + sync: SPI2
CSI D0-D5: MMC2
Alternative header use
![Page 12: C.H.I.P. The world's first nine dollar computer · Except for the NAND flash The first-stage loader (SPL) supports loading the second stage (u-boot) from NAND already But u-boot is](https://reader033.vdocuments.site/reader033/viewer/2022050205/5f588a1507951e41df314dd6/html5/thumbnails/12.jpg)
C.H.I.P. Accessories
![Page 13: C.H.I.P. The world's first nine dollar computer · Except for the NAND flash The first-stage loader (SPL) supports loading the second stage (u-boot) from NAND already But u-boot is](https://reader033.vdocuments.site/reader033/viewer/2022050205/5f588a1507951e41df314dd6/html5/thumbnails/13.jpg)
C.H.I.P. Accessoiries
![Page 14: C.H.I.P. The world's first nine dollar computer · Except for the NAND flash The first-stage loader (SPL) supports loading the second stage (u-boot) from NAND already But u-boot is](https://reader033.vdocuments.site/reader033/viewer/2022050205/5f588a1507951e41df314dd6/html5/thumbnails/14.jpg)
PocketC.H.I.P.
![Page 15: C.H.I.P. The world's first nine dollar computer · Except for the NAND flash The first-stage loader (SPL) supports loading the second stage (u-boot) from NAND already But u-boot is](https://reader033.vdocuments.site/reader033/viewer/2022050205/5f588a1507951e41df314dd6/html5/thumbnails/15.jpg)
![Page 16: C.H.I.P. The world's first nine dollar computer · Except for the NAND flash The first-stage loader (SPL) supports loading the second stage (u-boot) from NAND already But u-boot is](https://reader033.vdocuments.site/reader033/viewer/2022050205/5f588a1507951e41df314dd6/html5/thumbnails/16.jpg)
C.H.I.P. Upstream support status
![Page 17: C.H.I.P. The world's first nine dollar computer · Except for the NAND flash The first-stage loader (SPL) supports loading the second stage (u-boot) from NAND already But u-boot is](https://reader033.vdocuments.site/reader033/viewer/2022050205/5f588a1507951e41df314dd6/html5/thumbnails/17.jpg)
Upstream u-boot fully supports the C.H.I.P.
Except for the NAND flash
The first-stage loader (SPL) supports loading the second stage (u-boot) from NAND already
But u-boot is missing a full MTD nand driver for UBI(FS) access to load the kernel, dtb, etc.
Next Thing Co.'s github u-boot repository does have preliminary support for this
U-boot support
![Page 18: C.H.I.P. The world's first nine dollar computer · Except for the NAND flash The first-stage loader (SPL) supports loading the second stage (u-boot) from NAND already But u-boot is](https://reader033.vdocuments.site/reader033/viewer/2022050205/5f588a1507951e41df314dd6/html5/thumbnails/18.jpg)
Upstream Linux supports most of the C.H.I.P.
Not supported yet are:
NAND
Wifi/Bt module
Hardware video encoding / decoding engine
GPU
Video output
Linux support
![Page 19: C.H.I.P. The world's first nine dollar computer · Except for the NAND flash The first-stage loader (SPL) supports loading the second stage (u-boot) from NAND already But u-boot is](https://reader033.vdocuments.site/reader033/viewer/2022050205/5f588a1507951e41df314dd6/html5/thumbnails/19.jpg)
NAND: Boris Brezillon from Free Electrons is working on this. Next Thing Co.'s github linux repository has preliminary support.
Wifi/Bt: There is an out of tree driver for this: https://github.com/hadess/rtl8723bs Hopefully this can be added to drivers/staging soon.
Linux support
![Page 20: C.H.I.P. The world's first nine dollar computer · Except for the NAND flash The first-stage loader (SPL) supports loading the second stage (u-boot) from NAND already But u-boot is](https://reader033.vdocuments.site/reader033/viewer/2022050205/5f588a1507951e41df314dd6/html5/thumbnails/20.jpg)
Hardware video encoding / decoding: this has been reverse-engineered but no one is working on a driver. The plan is to have an out-of-tree kernel driver which allows using Allwinner's userspace binaries for this
GPU: The plan is to have an out-of-tree kernel driver which allows using ARM's userspace binaries for this
Linux support
![Page 21: C.H.I.P. The world's first nine dollar computer · Except for the NAND flash The first-stage loader (SPL) supports loading the second stage (u-boot) from NAND already But u-boot is](https://reader033.vdocuments.site/reader033/viewer/2022050205/5f588a1507951e41df314dd6/html5/thumbnails/21.jpg)
U-Boot has video output support and the kernel can take over the framebuffer through simplefb
Maxime Ripard from Free Electrons is working on a kms driver
Video output
![Page 22: C.H.I.P. The world's first nine dollar computer · Except for the NAND flash The first-stage loader (SPL) supports loading the second stage (u-boot) from NAND already But u-boot is](https://reader033.vdocuments.site/reader033/viewer/2022050205/5f588a1507951e41df314dd6/html5/thumbnails/22.jpg)
Demo ?
![Page 23: C.H.I.P. The world's first nine dollar computer · Except for the NAND flash The first-stage loader (SPL) supports loading the second stage (u-boot) from NAND already But u-boot is](https://reader033.vdocuments.site/reader033/viewer/2022050205/5f588a1507951e41df314dd6/html5/thumbnails/23.jpg)
Questions?
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License
https://github.com/jwrdegoede/Git repositories: