Baochip-1x: What it is, why I'm doing it now and how it came about

(crowdsupply.com)

164 points | by timhh 3 days ago ago

20 comments

  • bunnie 5 hours ago

    Hello wonderful people! I'm bunnie - just noticed this is on HN. Unfortunately due to timezones I'm about to afk for a bit. I'll check back when I can, and try to answer questions that accumulate here.

  • alexisread 2 hours ago

    Great work on the chip, I’m really onboard with the trusted computing aim!

    Is there a way to bootstrap binary code into the reram? I’m thinking being able to ‘hand-type’ in a few hundred byte kernel rather than use a flashing tool

  • luma 2 hours ago

    bunnie your book "Hacking the XBox" taught me how to get started on reversing electronics, took the fear out of the process, and replaced it with fun. Thanks for the multi-decades long effort you've made to make these tools available and accessible and approachable, your contributions to the hacker community are immeasurable and I cannot say thank you enough.

    Thanks man!

  • bArray 4 hours ago

    > Those with a bit of silicon savvy would note that it’s not cheap to produce such a chip, yet, I have not raised a dollar of venture capital. I’m also not independently wealthy. So how is this possible?

    What kind of order of magnitude of cost are we talking about?

    What are the next steps - is there some service to cut the wafer and put into a package for you?

    • bunnie 3 hours ago

      The masks alone are single digit millions, but with all the design tools and staff costs typically tens of millions is the benchmark number for a tape out in this node.

      After coming out of the fab, the chips go through probing, packaging and reeling.

  • arj 28 minutes ago

    It seems it had hardware support for secure mesh. Anyone know what that is?

  • K0balt 5 hours ago

    Very cool! So there’s 5x riscV cores available?

    • bunnie 4 hours ago

      Yes, 1x Vexriscv RV32-IMAC + MMU, and 4x PicoRV32's as RV32E-MC for I/O processing, configured with extensions to enable deterministic, real-time bit-banging without having to count clocks.

      • alex7o 3 hours ago

        That reminds me a lot of the xmos xcore mcus with 8 cores. I am curious what kind of synchronization primitives have you added and why?

        • cmrdporcupine 2 minutes ago

          Sounds like the Parallax Propeller 1/2 as well.

          It's a good model for MCU stuff. There were people pushing Chip Gracey (Parallax) to use RISC-V instead of his custom ISA when he designed the P2 a few years ago, but he chose to do his own thing. Which has made compiler development difficult.

        • bunnie 2 hours ago

          I'm actually working on a comprehensive write up on exactly this topic that should be out sometime next week!

          • K0balt 2 hours ago

            Just ordered 2 to play with!

      • K0balt 3 hours ago

        Nice! I love the specialized io processors. Fantastic work!

  • gzread 3 hours ago

    This is about transparency just like the Precursor, right? How can I know that my Baochip-1x is really what it says it is?

    • bunnie 2 hours ago

      The Baochip is packaged in a form of package that is inspectable using IRIS. [1] It does not give perfect verification but it's the best I can offer until we have more open PDKs.

      [1] https://bunnie.org/iris

  • intrasight 2 hours ago

    I didn't know there were partially open source RISC-V. I might have missed it in the article, but what was the reason for having some parts closed source?

    • theParadox42 37 minutes ago

      It’s not the RISC-V core itself, it’s just some of the surrounding architecture to support the CPU, to turn it into a SOC. So the USB drivers, the AXI memory interfaces, and the analog components, like PLLs for generating clocks, or even the IO pad drivers. These components take the fully open RISC-V core which works in a simulator and makes it work like a normal physical chip would.

  • mijoharas 4 hours ago

    Cool project. Why is it called the Baochip/Dabao?

    Is it big Bao? Or take-away (just learnt the second meaning), or something else?

    • bunnie 4 hours ago

      Personally, I love eating "bao" (a style of dumplings), but also coincidentally, a homophone of "bao" in Chinese (different character 保, similar sound) has a meaning of "protect; defend. keep; maintain; preserve. guarantee; ensure". So it means both things to me - one of my favorite foods, and also describes the technology.

      "dabao" is just a pun on that - means "take-away" or "to-go". The dabao evaluation board is basically a baochip in a "to-go" package.

    • JSR_FDED 4 hours ago

      I think it’s take-away, or to go. Like when you order some food to go.