Rename posts to blog

This commit is contained in:
Eryn Wells 2021-12-27 11:30:07 -07:00
parent 07439fee43
commit 4277b204f6
11 changed files with 8 additions and 8 deletions

View file

@ -0,0 +1,91 @@
---
title: "Booting a Raspberry Pi Over TFTP"
date: 2020-10-13T08:31:52-07:00
draft: false
series: ["Raspberry Pi OS Development"]
tags: ["Tech"]
---
In order to do this, I modified the [EEPROM bootloader][eeprom] bootloader
according to the instructions in the Raspberry Pi documentation. That page is
also on [GitHub][eeprom-gh] which might be a more stable location. On Raspbian
on the RPi:
```bash
fw=/lib/firmware/raspberrypi/bootloader/stable/pieeprom-2020-09-03.bin
rpi-eeprom-config $fw > ~/bootconf.txt
vi ~/bootconf.txt
rpi-eeprom-config --out ~/pieeprom-new.bin --config ~/bootconf.txt $fw
sudo rpi-eeprom-update -d -f ~/pieeprom-new.bin
sudo reboot
```
My updated bootconf.txt is:
```conf
[all]
BOOT_UART=1
WAKE_ON_GPIO=0
POWER_OFF_ON_HALT=0
DHCP_TIMEOUT=45000
DHCP_REQ_TIMEOUT=4000
TFTP_FILE_TIMEOUT=30000
ENABLE_SELF_UPDATE=1
DISABLE_HDMI=0
BOOT_ORDER=0xf412
```
I enabled UART debugging, and set the boot order to be: network `0x2`, SD card
`0x1`, USB mass storage `0x4`, and finally reboot `0xf`. These steps need to be
repeated if the bootloader is updated via apt.
I [enabled the TFTP server][mac-tftp] on my Mac:
```bash
sudo launchctl load -F /System/Library/LaunchDaemons/tftp.plist
sudo launchctl enable System/com.apple.tftpd
sudo launchctl start com.apple.tftpd
```
Im not sure if the `enable` command is actually necessary. This doesn't
actually start the `tftpd` daemon. Instead, macOS starts the daemon on demand
when it notices an incoming tftp request on the network. Don't be alarmed!
The tftp server looks for files to serve out of **/private/tftpboot**, and those
things need to be world `rwx`, i.e. `777`. By default (this is configurable) the
RPi queries for a directory named by its serial number.
```bash
mkdir /private/tftpboot/$raspberry_pi_serial
chmod 777 /private/tftpboot
chmod -R 777 /private/tftpboot/*
```
RPi looks for files of various names in that directory, one in particular by the
name of **start.elf**.
Next, I had to update my Ubiquiti router's DHCP server configuration (on the
command line) to pass a `tftp-server` parameter in the DHCP payload. This step
may be optional because you can also set `TFTP_IP` in the **bootconf.txt** above
to specify the IP directly. On my router:
```bash
configure
set service dhcp-server shared-network-name LAN subnet $lan_cidr_subnet tftp-server-name $ip_of_mac
commit
save
exit
```
I also gave my Mac a static IP, and renewed the DHCP lease so it took the new IP
to make the whole process a little more smooth. Now, it appears the RPi will
attempt a TFTP boot, and I see queries in the logs on my Mac.
## Further Reading
* [Hackaday's Raspberry Pi Boot Sequence Guide](https://hackaday.io/page/6372-raspberry-pi-4-boot-sequence)
* [Linuxhit Guide to Booting a Raspberry Pi with PXE](https://linuxhit.com/raspberry-pi-pxe-boot-netbooting-a-pi-4-without-an-sd-card/)
[eeprom]: https://www.raspberrypi.org/documentation/hardware/raspberrypi/bcm2711_bootloader_config.md
[eeprom-gh]: https://github.com/raspberrypi/documentation/blob/master/hardware/raspberrypi/bcm2711_bootloader_config.md
[mac-tftp]: https://www.unixfu.ch/start-a-tftp-server-on-your-mac/

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 MiB

View file

@ -0,0 +1,47 @@
---
title: "日本町"
slug: "nihonmachi"
date: 2021-09-27T08:08:59-07:00
description: A quick staycation getaway to San Francisco's Japantown with Tess.
draft: false
resources:
- name: "buchanan"
src: "images/buchanan.jpg"
title: "Buchanan Street Pedestrian Alley"
- name: "ramen"
src: "images/ramen.jpg"
title: "A bowl of ramen from Marufuku"
tags: ["Travel"]
---
{{< post_figure name=buchanan >}}
This past weekend, {{< tess >}} and I took a short, one-night staycation in San
Francisco's Japantown. With all the flurry of things happening in our lives, it
was so great to get away from home for a short time and relax.
We stayed at the [Hotel Kabuki][hk], a historic hotel in Japantown, and booked
time at the [Kabuki Springs][ks] bath on Sunday afternoon. We sat in the warm
bath, dunked in the freezing cold pool, sat in the sauna and steam room, and
lounged on the beds around the pools. The lights were low, the music was chill,
and it was so good to disconnect. This was my first experience in a communal
bath, and I left feeling like I wanted to go every weekend. (Tess and I are now
considering memberships.)
One of the wonderful things about a clothing-optional communal bath is the wide
variety of bodies you see. It was a great reminder of how diverse we are, and
how broad the definition of "woman's body" can be. I can't say for sure if Tess
and I were the only trans women there, but I think both of us came to feeling
like just one of the women there to enjoy the baths -- not out of place or
strange at all. It was a really great feeling.
We spent the rest of our time in 日本町 wandering the shops in Japan Center,
walking around the neighborhood, eating, and relaxing. For only being just over
24 hours away from home, I was impressed how much it felt like a real vacation.
Tess also [wrote](https://tess.oconnor.cx/2021/09/japantown) about our trip.
{{< post_figure name=ramen >}}
[hk]: https://www.jdvhotels.com/hotels/california/san-francisco/hotel-kabuki
[ks]: https://kabukisprings.com

View file

@ -0,0 +1,19 @@
---
title: "Oskitone Scout"
date: 2021-09-11T16:47:07-07:00
description: A timelapse video of me building an Oskitone Scout set to music produced using the Scout itself.
draft: false
tags: ["Music", "Synthesizers", "DIY"]
---
{{< youtube_figure id="gCSwWsxzy_c" title="A timelapse video of me building an Oskitone Scout, set to music produced using the Scout itself">}}
[Oskitone][oskitone] recently released a new synthesizer: the [Scout][scout].
It's a small monophonic keyboard synth built around an Arduino. It was a quick
build, and the result is tons of fun to noodle with. Here's a video of me
building the kit, set to music I wrote and produced with the completed Scout.
Enjoy!
[oskitone]: https://www.oskitone.com
[scout]: https://www.oskitone.com/product/scout-synth

Binary file not shown.

After

Width:  |  Height:  |  Size: 328 KiB

View file

@ -0,0 +1,35 @@
---
title: "PNW Reunion Trip"
date: 2021-10-16T12:00:00-07:00
description: A recap of a trip I took to the Pacific Northwest with some high school friends.
draft: false
resources:
- name: friends
src: "friends.jpg"
title: ""
tags: ["Travel", "Pandemic", "Friends"]
---
{{< post_figure name=friends >}}
I'm writing this in the airport having just spend a week with a group of friends
who mean the world to me. For the past 18 months, we have been spending our
Monday nights on Zoom with each other. They've been an anchor of my week,
consistently one of the highlights, and a vital community during the COVID-19
pandemic, when I was often feeling otherwise isolated.
Way back at the beginning of the pandemic, we talked about getting together when
it wound down. Surely by August 2020, we all thought. Lol.
Nearly a year later, we started planning. Amazingly, we all made it through the
hours of calls devoted to AirBnbs and rental cars and the harrowing adventure of
traveling during a pandemic. We stayed together in Portland, OR for a few days
and then drive up the Olympic Peninsula to a grand old house in the forest. From
there we hiked and kayaked. We ate together and laughed and played music. We
finished our trip with a ferry ride to Seattle, WA.
I'm so grateful for every one of these people. We've been friends for years and
even though our lives have taken us in so many different directions, we've found
each other again and that is so wonderful.
{{< twitter 1447951049076056071 >}}

View file

@ -0,0 +1,43 @@
---
title: "Pacific Northwest"
date: 2021-10-15T16:39:55-07:00
draft: true
tags: ["Travel"]
---
## Portland
Our first weekend, we stayed in Portland, OR. We rented a great three-story
house on the north side of the city that was great for all 10 of us to hang out.
On our one full day there, we went to Powell Books and Deschutes Brewery.
On the way up, we all stopped in Olympia, WA for a break and some lunch. Some of
us stopped for oysters along the Hood Canal too. Our final destination was a
house in the woods outside of Port Angeles.
## Freshwater Bay
Our first day in Port Angeles we went kayaking on Freshwater Bay. We say river otters, sea
otters, and a baby sea lion! Our guide shared a bunch of cool stuff about the
kelp forests along the coast too.
## Hurricane Ridge
The second day we drove up to Hurricane Ridge where it was snowing. None of us
was really expecting such a dramatic change in weather. The snow was beuatiful,
but we were all a bit unprepared.
## Hoh Rainforest
The next day, we took a long drive around the Olympic Peninsula to visit the Hoh
Rainforest. We hiked through the Hall of Mosses, and along the Hoh River for a
while. We stopped along the riverbank to skip stones before heading back to our
cars. On the way back to Port Angeles, we took a short detour to Rialto Beach, a
rocky windswept beach covered in seafoam and driftwood. It was overcast and a
little foggy but beautiful.
## Lake Crescent
The last full day of our time in Port Angeles, we took a short trip to Lake
Crescent and nearby Marymere Falls. It was a short hike up to the falls. A
little rainy but nothing we couldn't handle.

4
content/blog/_index.md Normal file
View file

@ -0,0 +1,4 @@
---
title: "Blog"
description: "Blog"
---