Add first version of a website
This commit is contained in:
parent
285817d44e
commit
543ef91aa7
|
|
@ -1,6 +1,6 @@
|
|||
# Raspberry Pi boards
|
||||
rpi_2b,Raspberry Pi 2 B,Raspberry Pi Foundation,bcm2836,rpi_2_defconfig,arm-linux-gnueabihf,rpi
|
||||
rpi_3b,Raspberry Pi 3 B,Raspberry Pi Foundation,bcm2837,rpi_3_defconfig,aarch64-linux-gnu,rpi
|
||||
raspberrypi_2b,Raspberry Pi 2 B,Raspberry Pi Foundation,bcm2836,rpi_2_defconfig,arm-linux-gnueabihf,rpi
|
||||
raspberrypi_3b,Raspberry Pi 3 B,Raspberry Pi Foundation,bcm2837,rpi_3_defconfig,aarch64-linux-gnu,rpi
|
||||
|
||||
# Allwinner A20 (sun7i) boards
|
||||
bananapi_m1,Banana Pi M1,Sinovoip,sun7i,Bananapi_defconfig,arm-linux-gnueabihf,sunxi
|
||||
|
|
|
|||
|
|
|
@ -0,0 +1 @@
|
|||
_site
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
layout: board
|
||||
board_id: bananapi_m1
|
||||
board_name: Banana Pi M1
|
||||
board_maker_name: Sinovoip
|
||||
board_soc_name: Allwinner A20 (sun7i)
|
||||
board_cpu_name: ARM Cortex A7 (armv7)
|
||||
---
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
layout: board
|
||||
board_id: bananapi_m2
|
||||
board_name: Banana Pi M2
|
||||
board_maker_name: Sinovoip
|
||||
board_soc_name: Allwinner A31 (sun6i)
|
||||
board_cpu_name: ARM Cortex A7 (armv7)
|
||||
---
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
layout: board
|
||||
board_id: raspberrypi_2b
|
||||
board_name: Raspberry Pi 2 B
|
||||
board_maker_name: Raspberry Pi Foundation
|
||||
board_soc_name: Broadcom BCM2836 (bcm2836)
|
||||
board_cpu_name: ARM Cortex A7 (armv7)
|
||||
---
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
layout: board
|
||||
board_id: raspberrypi_3b
|
||||
board_name: Raspberry Pi 3 B
|
||||
board_maker_name: Raspberry Pi Foundation
|
||||
board_soc_name: Broadcom BCM2837 (bcm2837)
|
||||
board_cpu_name: ARM Cortex A53 (armv8)
|
||||
---
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
collections:
|
||||
boards:
|
||||
output: true
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
<table class="table table-sm table-hover" id="boards">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">Board</th>
|
||||
<th scope="col">Board maker</th>
|
||||
<th scope="col">SoC</th>
|
||||
<th scope="col">CPU</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for board in site.boards %}
|
||||
<tr data-href="/boards/{{ board.board_id }}.html">
|
||||
<td>{{ board.board_name }}</td>
|
||||
<td>{{ board.board_maker_name }}</td>
|
||||
<td>{{ board.board_soc_name }}</td>
|
||||
<td>{{ board.board_cpu_name }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
<div class="text-center">
|
||||
<a href="http://example.com" style="color: black;">
|
||||
<img height="50" src="/img/do1.png" />
|
||||
<p><strong>Sign up for DigitalOcean Cloud today and<br/>get $100 credit for free!</strong></p>
|
||||
</a>
|
||||
</div>
|
||||
|
|
@ -0,0 +1,60 @@
|
|||
---
|
||||
layout: default
|
||||
---
|
||||
<main role="main">
|
||||
<div class="container">
|
||||
<h2>Banana Pi</h2>
|
||||
<hr />
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-6 text-right px-2"><strong>Board name</strong></div>
|
||||
<div class="col-6 px-2">{{ page.board_name }}</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-6 text-right px-2"><strong>Board maker</strong></div>
|
||||
<div class="col-6 px-2">{{ page.board_maker_name }}</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-6 text-right px-2"><strong>SoC</strong></div>
|
||||
<div class="col-6 px-2">{{ page.board_soc_name }}</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-6 text-right px-2"><strong>CPU</strong></div>
|
||||
<div class="col-6 px-2">{{ page.board_cpu_name }}</div>
|
||||
</div>
|
||||
<hr />
|
||||
</div>
|
||||
<div class="container">
|
||||
<h3>Install instructions</h3>
|
||||
<p class="bg-dark p-2">
|
||||
<code class="text-light ">
|
||||
$ wget http://debimg.johang.se/boot/boot-<strong>raspberrypi_3b</strong>.bin.gz<br />
|
||||
$ wget http://debimg.johang.se/debian/armhf/<strong>debian-armhf-stretch</strong>-XXXXXX.bin.gz<br />
|
||||
$ zcat boot-<strong>raspberrypi_3b</strong>.bin.gz <strong>debian-armhf-stretch</strong>-XXXXXX.bin.gz > sd-card.img<br />
|
||||
# dd if=sd-card.img of=/dev/sdXXX <span class="text-info"># ...where /dev/sdXXX is your SD card</span><br />
|
||||
</code>
|
||||
</p>
|
||||
<p>When the <code>dd</code> command is done, put the SD card in your board and power it on. The board will boot up and assign itself an IP address using DHCP. The last part of the Debian image filename is the default root password.</p>
|
||||
<hr />
|
||||
</div>
|
||||
<div class="container">
|
||||
<h3>Downloads</h3>
|
||||
<ul>
|
||||
<li><a href="http://debimg.johang.se/boot/boot-raspberrypi_3b.bin.gz">boot-raspberrypi_3b.bin.gz</a> (350 kB)</li>
|
||||
<li><a href="http://debimg.johang.se/debian/armhf/debian-armhf-stretch-XXXXXX.bin.gz">debian-armhf-stretch-XXXXXX.bin.gz</a> (120 MB)</li>
|
||||
<li><a href="http://debimg.johang.se/debian/armhf/debian-armhf-buster-XXXXXX.bin.gz">debian-armhf-buster-XXXXXX.bin.gz</a> (120 MB)</li>
|
||||
<li><a href="http://debimg.johang.se/debian/armhf/debian-armhf-sid-XXXXXX.bin.gz">debian-armhf-sid-XXXXXX.bin</a> (120 MB)</li>
|
||||
</ul>
|
||||
<hr />
|
||||
</div>
|
||||
<div class="container">
|
||||
{% include digitalocean.html %}
|
||||
<hr />
|
||||
</div>
|
||||
<div class="container">
|
||||
<h3>Other boards</h3>
|
||||
{% include boards.html %}
|
||||
<hr />
|
||||
</div>
|
||||
</main>
|
||||
|
|
@ -0,0 +1,74 @@
|
|||
<!doctype html>
|
||||
<!-- Hi :) -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
<title>SD card images</title>
|
||||
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
|
||||
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>
|
||||
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
|
||||
<style>
|
||||
body {
|
||||
padding-top: 4.5rem;
|
||||
}
|
||||
#boards tbody tr {
|
||||
cursor: pointer;
|
||||
}
|
||||
.pill {
|
||||
border-radius: 50px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<nav class="navbar navbar-expand-md navbar-dark fixed-top bg-dark">
|
||||
<a class="navbar-brand" href="/">SD card images</a>
|
||||
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navbarCollapse">
|
||||
<ul class="navbar-nav mr-auto">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="/boards.html">Downloads</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="/boards.html">Supported boards</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="/boards.html">Install instructions</a>
|
||||
</li>
|
||||
<!--
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="#">Documentation</a>
|
||||
</li>
|
||||
-->
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="https://github.com/johang/debian-sd-card-images">Source code</a>
|
||||
</li>
|
||||
</ul>
|
||||
<!--
|
||||
<form class="form-inline my-2 my-lg-0">
|
||||
<input class="form-control mr-sm-2" type="search" placeholder="Search" aria-label="Search">
|
||||
<button class="btn btn-outline-success my-2 my-sm-0" type="submit">Search</button>
|
||||
</form>
|
||||
-->
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
{{ content }}
|
||||
<footer class="container">
|
||||
<p class="float-right"><a href="#">Back to top</a></p>
|
||||
<p>This project is not affiliated with Debian. Debian is a registered trademark owned by Software in the Public Interest, Inc.</p>
|
||||
</footer>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function($) {
|
||||
$("#boards tbody tr").click(function() {
|
||||
window.document.location = $(this).data("href");
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
---
|
||||
title: SD card images
|
||||
layout: default
|
||||
---
|
||||
<main role="main">
|
||||
<div class="container">
|
||||
<h2>Supported boards</h2>
|
||||
<hr />
|
||||
</div>
|
||||
<div class="container">
|
||||
{% include digitalocean.html %}
|
||||
</div>
|
||||
<div class="container">
|
||||
{% include boards.html %}
|
||||
<hr />
|
||||
</div>
|
||||
</main>
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 74 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 9.0 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 6.8 KiB |
|
|
@ -0,0 +1,53 @@
|
|||
---
|
||||
title: My First Page
|
||||
layout: default
|
||||
---
|
||||
<main role="main">
|
||||
<div class="section section-header">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-6 text-left my-auto col-z-index" >
|
||||
<h1>Minimal Debian SD card images</h1>
|
||||
<h4>Unoffical, minimal, pure and up-to-date Debian SD card images for various ARM-based single board computers.</h4>
|
||||
<p class="my-3">
|
||||
<a class="btn btn-lg btn-primary" href="boards.html" role="button">Download</a>
|
||||
</p>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<img src="/img/board.jpg" style="width: 100%;">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-4">
|
||||
<img src="/img/board.jpg" height="48">
|
||||
<h3>Minimal image</h3>
|
||||
<p>The images contains just enough to boot up. Great for development, testing and learning.</p>
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
<img src="/img/board.jpg" height="48">
|
||||
<h3>Pure image</h3>
|
||||
<p>The images includes only official Debian packages, including the official Debian Linux kernel, downloaded from the offical Debian mirrors.</p>
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
<img src="/img/board.jpg" height="48">
|
||||
<h3>Up-to-date image</h3>
|
||||
<p>The images are rebuilt once per week to include the latest versions and security patches for each of the Debian suites.</p>
|
||||
</div>
|
||||
</div>
|
||||
<hr />
|
||||
</div>
|
||||
<div class="container">
|
||||
{% include digitalocean.html %}
|
||||
<hr />
|
||||
</div>
|
||||
<div class="container">
|
||||
<h3>Supported boards</h3>
|
||||
<ul class="list-inline">
|
||||
{% for board in site.boards %}<li class="list-inline-item board-button my-1 mr-2 "><a href="/boards/{{ board.board_id }}.html" class="btn btn-outline-primary pill" role="button">{{ board.board_name }}</a></li>{% endfor %}
|
||||
</ul>
|
||||
<hr />
|
||||
</div>
|
||||
</main>
|
||||
|
|
@ -0,0 +1,31 @@
|
|||
#!/usr/bin/env python3
|
||||
import csv, os, glob
|
||||
for x in glob.glob("docs/_boards/*.md"):
|
||||
os.remove(x)
|
||||
chips = {}
|
||||
with open("chips.csv") as csvfile:
|
||||
chipsf = csv.reader(csvfile)
|
||||
for row in chipsf:
|
||||
if not row:
|
||||
continue
|
||||
if row[0].strip().startswith("#"):
|
||||
continue
|
||||
chips[row[0]] = row
|
||||
with open("boards.csv") as csvfile:
|
||||
boardsf = csv.reader(csvfile)
|
||||
for row in boardsf:
|
||||
if not row:
|
||||
continue
|
||||
if row[0].strip().startswith("#"):
|
||||
continue
|
||||
with open("docs/_boards/%s.md" % row[0], "w") as boardf:
|
||||
boardf.write("---\n")
|
||||
boardf.write("layout: board\n")
|
||||
boardf.write("board_id: %s\n" % (row[0]))
|
||||
boardf.write("board_name: %s\n" % (row[1]))
|
||||
boardf.write("board_maker_name: %s\n" % (row[2]))
|
||||
boardf.write("board_soc_name: %s %s (%s)\n" % (chips[row[3]][2],
|
||||
chips[row[3]][1], chips[row[3]][0]))
|
||||
boardf.write("board_cpu_name: %s (%s)\n" % (chips[row[3]][3],
|
||||
chips[row[3]][4]))
|
||||
boardf.write("---\n")
|
||||
Loading…
Reference in New Issue