Deep Dive w/Scott: Raspberry Pi Testing episode artwork

EPISODE · Nov 19, 2021 · 2H 11M

Deep Dive w/Scott: Raspberry Pi Testing

from Adafruit Industries · host Adafruit Industries

Join Scott as he continues to test CircuitPython on the Raspberry Pi. No Deep Dive next week. Links: https://adafruit.com https://adafru.it/discord https://github.com/adafruit/deep-dive-notes https://github.com/raspberrypi/firmware/wiki/Mailbox-property-interface https://www.raspberrypi.com/documentation/computers/processors.html https://forums.raspberrypi.com/viewtopic.php?t=72260 0:00 Getting started 0:03:27 Housekeeping 0:07:02 not talking about esp-s3 today :-) 0:07:28 working on CP reliability 0:08:31 BCM2711 datasheet - “precautions for correct memory ordering” read and write barriers 0:11:20 Does anyone know if the feather interface handles I2S?I'm thinking about making an Audio Codec feather board. 0:11:50 Does anyone know if the feather interface handles I2S?I'm thinking about making an Audio Codec feather board. 0:13:10 When you hit a problem on this project, do you ever jump over to the Pi OS source code - to see how they implement what it is you are struggling with - to get clues on how to proceed? 0:14:30 facebook tftp server ( fbtftp python implementation of tftp server)? 0:17:26 twitch off/on to reset 0:20:00 examine the build system (CI / continuous integration) on github 0:21:00 submodule dependency optimizations 0:23:45 live watching on youtube has some lag due to closed captions 0:24:25 would i need a debug hat hat or soldered-up SWD to help test? haven't done that on a RPi Zero 2 yet 0:25:58 Mailbox code 0:29:41 consider switching to Pie Zero 2 0:35:04 pi imager complete / sync 0:36:32 debug pi zero 2 boot 0:37:40 DWC2 is null - probably the issue 0:38:40 Did you try USB boot on any of your board? You can boot a PiZero just plugged on the USB with proper software on the other side. ( no ) 0:48:07 using svd to read VCMAILBOX STATUS1 0:58:21 you are using just one core of the RPi. Is there a plan to use more than just one core in the future? 0:59:45 boot to repl - not recovering from the flush 1:10:23 try a non-debug build 1:04:23 dump-stack - to find code lines for stack based addresses 1:05:29 USB handler looks like it is corrupting the stack 1:13:16 not-implemented error opcode 1:15:38 booted in widescreen - why? 1:16:20 still getting NotImplementedError: Opcode 1:17:00 So what fixed the USB? ( we don’t know it’s fixed yet - usb uart ) 1:18:30 this time it successfully restarted 1:19:01 plug in the USB 1:20:15 try restarting again 1:20:53 when printing temperature - we get the notimplemented opcode error 1:27:00 try again - USB pops up - 1:27:30 Is what’s on git supposed to be working right now? (yes) 1:28:50 port_get_raw_ticks #asm(“dsb sy”) memory barrier 1:34:00 discord #live_broadcast_chat for kernel8.img and firmware.disk.img.zip 1:35:50 “add --depth 1 or you'll be downloading 20 GB of submodule” 1:37:30 something about unplugging the USB 1:38:45 perhaps USB interrupt isn’t clearing something 1:46:04 Are the docs for this Broadcom stuff publicly available? And if so where would one find them? 1:48:01 this build does not work: 1:48:50 other documentation resources 1:49:15 can’t connect to jlink jtag debug till I disconnect USB 1:45:53 are the swd debug pins on the header? or configurable to the header? or is it time to heat up some testpoint pads? 1:51:48 turn on rando in ports in mpconfigport.mk CIRCUITPY_RANDOM = 1 1:53:44 import random works random.randint(0,9) 1:54:40 check “Ci” / it’s working 1:56:20 tinyusb doesn’t work :-( 1:57:45 these builds don’t work on zero 2 yet 1:58:10 report bug in tinyusb / Broadcom USB address / Pi Zero 2W github.com/hathach/tinyusb/issues 2:02:10 checking git status before commit 2:04:00 explaining the origin_build push 2:07:00 CP now has Russian support 2:07:45 pushes complete / ci will run again, zero 2W builds won’t work 2:08:12 wrap up 2:10:40 cat cam 2:11:10 end of feed Visit the Adafruit shop online - http://www.adafruit.com ----------------------------------------- LIVE CHAT IS HERE! http://adafru.it/discord Adafruit on Instagram: https://www.instagram.com/adafruit Subscribe to Adafruit on YouTube: http://adafru.it/subscribe New tutorials on the Adafruit Learning System: http://learn.adafruit.com/ -----------------------------------------

Join Scott as he continues to test CircuitPython on the Raspberry Pi. No Deep Dive next week. Links: https://adafruit.com https://adafru.it/discord https://github.com/adafruit/deep-dive-notes https://github.com/raspberrypi/firmware/wiki/Mailbox-property-interface https://www.raspberrypi.com/documentation/computers/processors.html https://forums.raspberrypi.com/viewtopic.php?t=72260 0:00 Getting started 0:03:27 Housekeeping 0:07:02 not talking about esp-s3 today :-) 0:07:28 working on CP reliability 0:08:31 BCM2711 datasheet - “precautions for correct memory ordering” read and write barriers 0:11:20 Does anyone know if the feather interface handles I2S?I'm thinking about making an Audio Codec feather board. 0:11:50 Does anyone know if the feather interface handles I2S?I'm thinking about making an Audio Codec feather board. 0:13:10 When you hit a problem on this project, do you ever jump over to the Pi OS source code - to see how they implement what it is you are struggling with - to get clues on how to proceed? 0:14:30 facebook tftp server ( fbtftp python implementation of tftp server)? 0:17:26 twitch off/on to reset 0:20:00 examine the build system (CI / continuous integration) on github 0:21:00 submodule dependency optimizations 0:23:45 live watching on youtube has some lag due to closed captions 0:24:25 would i need a debug hat hat or soldered-up SWD to help test? haven't done that on a RPi Zero 2 yet 0:25:58 Mailbox code 0:29:41 consider switching to Pie Zero 2 0:35:04 pi imager complete / sync 0:36:32 debug pi zero 2 boot 0:37:40 DWC2 is null - probably the issue 0:38:40 Did you try USB boot on any of your board? You can boot a PiZero just plugged on the USB with proper software on the other side. ( no ) 0:48:07 using svd to read VCMAILBOX STATUS1 0:58:21 you are using just one core of the RPi. Is there a plan to use more than just one core in the future? 0:59:45 boot to repl - not recovering from the flush 1:10:23 try a non-debug build 1:04:23 dump-stack - to find code lines for stack based addresses 1:05:29 USB handler looks like it is corrupting the stack 1:13:16 not-implemented error opcode 1:15:38 booted in widescreen - why? 1:16:20 still getting NotImplementedError: Opcode 1:17:00 So what fixed the USB? ( we don’t know it’s fixed yet - usb uart ) 1:18:30 this time it successfully restarted 1:19:01 plug in the USB 1:20:15 try restarting again 1:20:53 when printing temperature - we get the notimplemented opcode error 1:27:00 try again - USB pops up - 1:27:30 Is what’s on git supposed to be working right now? (yes) 1:28:50 port_get_raw_ticks #asm(“dsb sy”) memory barrier 1:34:00 discord #live_broadcast_chat for kernel8.img and firmware.disk.img.zip 1:35:50 “add --depth 1 or you'll be downloading 20 GB of submodule” 1:37:30 something about unplugging the USB 1:38:45 perhaps USB interrupt isn’t clearing something 1:46:04 Are the docs for this Broadcom stuff publicly available? And if so where would one find them? 1:48:01 this build does not work: 1:48:50 other documentation resources 1:49:15 can’t connect to jlink jtag debug till I disconnect USB 1:45:53 are the swd debug pins on the header? or configurable to the header? or is it time to heat up some testpoint pads? 1:51:48 turn on rando in ports in mpconfigport.mk CIRCUITPY_RANDOM = 1 1:53:44 import random works random.randint(0,9) 1:54:40 check “Ci” / it’s working 1:56:20 tinyusb doesn’t work :-( 1:57:45 these builds don’t work on zero 2 yet 1:58:10 report bug in tinyusb / Broadcom USB address / Pi Zero 2W github.com/hathach/tinyusb/issues 2:02:10 checking git status before commit 2:04:00 explaining the origin_build push 2:07:00 CP now has Russian support 2:07:45 pushes complete / ci will run again, zero 2W builds won’t work 2:08:12 wrap up 2:10:40 cat cam 2:11:10 end of feed Visit the Adafruit shop online - http://www.adafruit.com ----------------------------------------- LIVE CHAT IS HERE! http://adafru.it/discord Adafruit on Instagram: https://www.instagram.com/adafruit Subscribe to Adafruit on YouTube: http://adafru.it/subscribe New tutorials on the Adafruit Learning System: http://learn.adafruit.com/ -----------------------------------------

NOW PLAYING

Deep Dive w/Scott: Raspberry Pi Testing

0:00 2:11:09

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

API Intersection Stoplight Building a successful API requires more than just coding. It starts with collaborative design, focuses on creating a great developer experience, and ends with getting your company on board, maintaining consistency, and maximizing your API’s profitability.In the API Intersection, you’ll learn from experienced API practitioners who transformed their organizations, and get tangible advice to build quality APIs with collaborative API-first design.Jason Harmon brings over a decade of industry-recognized REST API experience to discuss topics around API design, governance, identity/auth versioning, and more.They’ll answer listener questions, and discuss best practices on API design (definition, modeling, grammar), Governance (multi-team design, reviewing new API’s), Platform Transformation (culture, internal education, versioning) and more.They’ll also chat with experienced API practitioners from a wide array of industries to draw out practical takeaways and insights you can use.H TV Podcast Industries Chris Jones, Derek O'Neill and John Harrison. TV Podcast Industries TV Podcast Industries is a podcast that provides discussions and reviews of various TV shows, including recent popular series like Alien Earth, The Sandman, The Last of Us, The Boys, and Daredevil Born Again. They also cover shows such as Ironheart, Star Trek: Picard, The Rings of Power, and many more, spanning both Marvel and DC universes, as well as other genres. Heart to Heart Podcast One on One / Next Level Studios In the Heart to Heart Podcast, we talk to some of our favorite & most interesting people in the entertainment industry so you can feel empowered and learn that even in the most challenging of industries, where there’s a will there’s a way.Whether you’re an actor, a writer, a casting director, a talent rep, or just someone interested in the behind the scene happenings of the entertainment industry, this podcast will have something for you. NOW, this isn’t just another How To podcast for actors. Plenty of those shows already exist. In Heart to Heart, every guest will share stories inspired by their sometimes winding path to success on their own terms. Revisionist History Pushkin Industries Revisionist History is Malcolm Gladwell's journey through the overlooked and the misunderstood. Every episode re-examines something from the past—an event, a person, an idea, even a song—and asks whether we got it right the first time. From Pushkin Industries. Because sometimes the past deserves a second chance.To get early access to ad-free episodes and extra content, subscribe to Pushkin+ in Apple Podcasts or at pushkin.fm/plus.iHeartMedia is the exclusive podcast partner of Pushkin Industries.

Frequently Asked Questions

How long is this episode of Adafruit Industries?

This episode is 2 hours and 11 minutes long.

When was this Adafruit Industries episode published?

This episode was published on November 19, 2021.

What is this episode about?

Join Scott as he continues to test CircuitPython on the Raspberry Pi. No Deep Dive next...

Can I download this Adafruit Industries episode?

Yes, you can download this episode by clicking the download button on the episode player, or subscribe to the podcast in your preferred podcast app for automatic downloads.
URL copied to clipboard!