1. 23
  1.  

  2. 2

    I have a few ERLs and love them. What the article is missing for me is why I would want to put BSD on them, beyond the ‘fun’ factor. The ERL firmware is an almost flawless way to use the hardware as is.

    1. 4

      In my case, there is already a “firmware” I like using. I just need to find devices to put it on.

      1. 1

        Fair enough! I can definitely say the ERLs are brilliant hardware-wise. Little things don’t even get all that warm under load, and they are so cheap for what they are. I wonder if it would be possible to get CJDNS running on one, even if woefully slowly …

      2. 1

        I didn’t like the firewall interface. I was only able to make it work using the wizard. It was a lot easier with pf.

      3. 1

        @tedu: Is this like most ARM boards where u-boot and all the configuration is stored on the flash’s fat partition rather than firmware? If so, given the lack of removable media, any idea what the recovery path would be if one were to dd /dev/zero over sd0c? I’m assuming it wouldn’t be completely bricked.

        1. 3

          As far as I know, all the u-boot stuff lives in ROM (or NVRAM). The FAT partition houses the kernel, but I think you can netboot it if bricked. Maybe…?

          1. 3

            Depends on what you mean by “bricked”. I’ve bricked an ERL two years ago but that was damage from (un)plugging the power cable too often (before I finally able to let OpenBSD reboot the machine). That had little to do with software-wise bricking and I haven’t been able to brick the replacement unit in a long time with all kinds of uboot abuse…

          2. 1

            To answer my own question, a little research indicates that the internal flash is a removable USB drive, and should fit most low-profile USB flash drives for repair or upgrade.

            1. 1

              There is only one internal port […]. The internal flash is not supported and it’s not all that much anyway.

              https://marc.info/?l=openbsd-misc&m=143991263125175&w=2

              There’s an MSDOS partition on the USB disk, maybe it’s the one the kernel is loaded from :

              $ sudo disklabel -h sd0
              # /dev/rsd0c:
              type: SCSI
              disk: SCSI disk
              label: USB DISK 2.0
              duid: d2254a60106318f1
              flags:
              bytes/sector: 512
              sectors/track: 63
              tracks/cylinder: 255
              sectors/cylinder: 16065
              cylinders: 487
              total sectors: 7831552 # total bytes: 3824.0M
              boundstart: 32832
              boundend: 7831552
              drivedata: 0
              
              16 partitions:
              #                size           offset  fstype [fsize bsize  cpg]
                a:           888.6M            32832  4.2BSD   2048 16384    1 # /
                b:           256.0M          1852672    swap                   # none
                c:          3824.0M                0  unused
                d:          2282.1M          2376960  4.2BSD   2048 16384    1 # /usr
                e:           381.3M          7050688  4.2BSD   2048 16384    1 # /home
                i:            16.0M               64   MSDOS