Adafruit Industries

Deep Dive w/Scott: Raspberry Pi Testing


Listen Later

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/
-----------------------------------------
...more
View all episodesView all episodes
Download on the App Store

Adafruit IndustriesBy Adafruit Industries

  • 4.8
  • 4.8
  • 4.8
  • 4.8
  • 4.8

4.8

13 ratings


More shows like Adafruit Industries

View all
3D Printing Projects by Adafruit Industries

3D Printing Projects

11 Listeners

Raspberry Pi by Adafruit Industries

Raspberry Pi

23 Listeners

Ask an Engineer by Adafruit Industries

Ask an Engineer

2 Listeners

Collin's Lab by Adafruit Industries

Collin's Lab

3 Listeners

New Products by Adafruit Industries

New Products

3 Listeners

Show and Tell by Adafruit Industries

Show and Tell

0 Listeners

3D Hangouts by Adafruit Industries

3D Hangouts

1 Listeners

Circuit Playground by Adafruit Industries

Circuit Playground

0 Listeners