This is the third part of a blog about putting a WiFi router into a phone charger; (see part zero here, see part one here) and feel free to join our c

I’m putting a WiFi router into a wall charger (Part 2)

submited by
Style Pass
2021-07-19 21:00:06

This is the third part of a blog about putting a WiFi router into a phone charger; (see part zero here, see part one here) and feel free to join our community on Discord! Everything is open source: Github Here.

This post will outline the bringup of Linux on a PCB I develo ped from scratch. You can read more about the hardware design in the earlier posts linked above. I’ll talk about driver bringup, system characterization, testing, and software development. By the end of this post, we will have a fully booted single-board computer (SBC). The last post was left on a somewhat unexciting note. To recap, I populated the 2.5V regulator with a 3.3V. After powering up the board, I read this rail had an absolute maximum rating of 2.7V. Or so we were told…

After replacing the regulator with a 2.5V variant, I fired everything up, and the current consumption looked reasonable. I cloned the Buildroot repository to have a poke around. Buildroot is an open source project designed to make building the bootloader, kernel, operating system and required apps easier. The A33-OLinuXino has similar hardware to my board, so I used that as a jumping-off point. There’s one command to configure the build: make olimex_a33_olinuxino_defconfigthis takes the config fromconfig/olimex_a33_olinuxino_defconfig and replaces the .config file in the buildroot home directory. The .config file is responsible for defining the top-level buildroot configuration. Issuing make menuconfig will bring up the config menu.

Leave a Comment