Go to advanced search

by bzt
Fri Aug 20, 2021 12:43 pm
Forum: Bare metal, Assembly language
Topic: Fast way to move memory?
Replies: 20
Views: 2390

Re: Fast way to move memory?

In case VPU doesn't work, I've collected some optimized Assembly memcpy implementations here . There's some more links and you can also take a look at my implementation here (note: my implementation is very fast, performs above 1Gb/s, but only if both source and destination offsets are 16 bytes alig...
by bzt
Fri Jul 30, 2021 2:20 pm
Forum: General discussion
Topic: USB image writer
Replies: 226
Views: 38424

Re: USB image writer

Hi! where / how do we see build number ? jsut to check which I have on mac OS using the Open package Contents and terminal / sudo method Just run in verbose mode, "usbimager -v" and that will print it out. But for the macOS version nothing has changed, this version only fixes a minor Win i...
by bzt
Thu Jul 29, 2021 4:42 pm
Forum: General discussion
Topic: USB image writer
Replies: 226
Views: 38424

Re: USB image writer

For those who it concerns, there's a new version of USBImager available (version remained 1.0.7 because no new feature was introduced, most platforms weren't affected, but build number increased to 24). Changes: - Win standard read-write interface only: fixed an issue with locking/unlocking volumes ...
by bzt
Mon Jun 21, 2021 9:00 am
Forum: General discussion
Topic: USB image writer
Replies: 226
Views: 38424

Re: USB image writer

What is the actual last part fo the file name to down load the deb for a Raspberry Pi with standard Raspberry Pi OS?/ Been trying all sorts of combinations of the dpkg as given in the readme. but you jsut put the endings a sa variable..the * ..and I just cant get it sudo dpkg -i usbimager_*.deb but...
by bzt
Sat Jun 05, 2021 8:37 am
Forum: General discussion
Topic: USB image writer
Replies: 226
Views: 38424

Re: USB image writer

Hi, thanks for the feedback! MACPRO-2:~ neil$ sudo /Applications/USBImager/USBImagerW.app/Contents/MacOS/usbimager 2021-05-27 10:36:30.933 usbimager[31317:7558860] get 0x0 objc[31317]: Class FIFinderSyncExtensionHost is implemented in both /System/Library/PrivateFrameworks/FinderKit.framework/Versio...
by bzt
Sat Apr 17, 2021 12:23 pm
Forum: Bare metal, Assembly language
Topic: Rpi4 bare metal - RTOS
Replies: 3
Views: 1553

Re: Rpi4 bare metal - RTOS

Then I discovered: https://gitlab.com/bztsrc/imgrecv and https://gitlab.com/bztsrc/usbimager that seems to be a better choice for me. Good to hear! :-) I think my first step into this world should be to follow this: https://github.com/bztsrc/raspi3-tutorial but this is for Rpi3 and here I already h...
by bzt
Mon Apr 12, 2021 4:30 pm
Forum: Bare metal, Assembly language
Topic: aarch64 counter/timer, CNTFRQ_EL0 and CNTPCT_EL0
Replies: 18
Views: 2705

Re: aarch64 counter/timer, CNTFRQ_EL0 and CNTPCT_EL0

@bzt cool thanks a lot :-) You're welcome! the more I get into this the more it gets weird. Yeah, that's because there are many timers, and they don't have a canonical name. All of them are called the ARM timer sometimes, so if you think it's weird, you're probably mixing the descriptions of two di...
by bzt
Mon Apr 12, 2021 4:07 pm
Forum: Bare metal, Assembly language
Topic: aarch64 counter/timer, CNTFRQ_EL0 and CNTPCT_EL0
Replies: 18
Views: 2705

Re: aarch64 counter/timer, CNTFRQ_EL0 and CNTPCT_EL0

how is it switched between the raw crystal and the APB clock? From the spec, page 9, see attachment armqa7.png and page 91 on attachment bcm2711.png. What is the QA7 timer ? And what does APB stand for? Sorry I am a bit confused by the terminology here, where do I read about those? Read the doc I'v...
by bzt
Mon Apr 12, 2021 11:40 am
Forum: Bare metal, Assembly language
Topic: aarch64 counter/timer, CNTFRQ_EL0 and CNTPCT_EL0
Replies: 18
Views: 2705

Re: aarch64 counter/timer, CNTFRQ_EL0 and CNTPCT_EL0

I guess the actual frequencies are implementation dependent. Yes, they are. For the BCM2711 it should be 54Mhz by default (but configurable). I just want to know what are the exact frequencies those specific timers run at on a raspberry pi 4. For the ARM QA7 timer, configurable. Either 19MHz (exter...
by bzt
Sun Apr 11, 2021 8:43 pm
Forum: Bare metal, Assembly language
Topic: armv9
Replies: 8
Views: 1616

Re: armv9

thank you, bzt, but what i meant is mainstream $35 rpi on which one can practice or learn assembly lang armv9, obviously it is not planned yet According to this presentation on the ARM vision day 2021, there will be no new Assembly lang with armv9 https://www.servethehome.com/wp-content/uploads/202...
by bzt
Sun Apr 11, 2021 8:19 pm
Forum: Bare metal, Assembly language
Topic: aarch64 counter/timer, CNTFRQ_EL0 and CNTPCT_EL0
Replies: 18
Views: 2705

Re: aarch64 counter/timer, CNTFRQ_EL0 and CNTPCT_EL0

Hi all, I am looking for some details about aarch64 timers/counters. What I am seeing is that CNTFRQ_EL0 is 0 and CNTPCT_EL0 seems to increment at about 2 Mhz. I believe that I have to setup CNTFRQ_EL0 myself but what is the exact frequency at which CNTPCT_EL0 increments? Also, is there a counter o...
by bzt
Sun Apr 11, 2021 11:41 am
Forum: General discussion
Topic: RPI-Imager not working (screen freeze/mouse moves)
Replies: 10
Views: 596

Re: RPI-Imager not working (screen freeze/mouse moves)

I'm a little weak at burning and flashing images. Have no worries, you'll get used to. Your solution makes it sound simple enough. I did my best to make it simple. Just download the app, select the image file (the source) and the device (the destination) and press "Write". Would you sugge...
by bzt
Sat Apr 10, 2021 3:39 pm
Forum: Bare metal, Assembly language
Topic: Read/write SD card on Raspberry Pi 4?
Replies: 8
Views: 1595

Re: Read/write SD card on Raspberry Pi 4?

Hi @bzt, here it is. Thank you!!! Try 0x00038041 and it will work. ;) Ahhh, I've tried 38041 too but that's not working either since github search only matches whole words as it turned out... Thank you! It's probably not easy to get this working without the hardware. :( Yes, absolutely. I miss the ...
by bzt
Fri Apr 09, 2021 7:06 pm
Forum: Bare metal, Assembly language
Topic: Read/write SD card on Raspberry Pi 4?
Replies: 8
Views: 1595

Re: Read/write SD card on Raspberry Pi 4?

Hi @rst, do you have a working source code somewhere? I've searched for 0x38041 in Circle to see what mailbox call you were referring to, but I had no luck finding it. In order to make my code RPi4 compatible, I've changed the address to eMMC2, I've added the voltage config in EMMC_CONTROL0 you ment...
by bzt
Fri Apr 09, 2021 7:00 pm
Forum: Bare metal, Assembly language
Topic: armv9
Replies: 8
Views: 1616

Re: armv9

On this site you can read this: “Raspberry Pi is pleased to endorse Project Cassini initiative and to see Arm SystemReady compliance certification program extending beyond servers to cover devices across a vibrant and diverse hardware ecosystem. Through promoting widely adopted standards this progra...
by bzt
Fri Apr 09, 2021 2:49 pm
Forum: General discussion
Topic: RPI-Imager not working (screen freeze/mouse moves)
Replies: 10
Views: 596

Re: RPI-Imager not working (screen freeze/mouse moves)

bzt - A little over my head, but I found: What do you mean? Just download the zip for your OS, extract it and run. No installation needed. Lot simpler than the steps you've linked. For Ubuntu, Linux Mint and RaspiOS (and other deb based distros), you can also download the .deb version too, and inst...
by bzt
Thu Apr 08, 2021 12:20 pm
Forum: General discussion
Topic: i need to play a video on vlc(is in a folder) in full screen when raspibian is started
Replies: 1
Views: 193

Re: i need to play a video on vlc(is in a folder) in full screen when raspibian is started

No code needed. Just configure automatic login with raspi-config or put this in /etc/lightdm/lightdm.conf autologin-user=pi autologin-user-timeout=0 Then create a shell script /home/pi/.xsessionrc and call whatever programs you want (vlc for example) to be started automatically: export DISPLAY="...
by bzt
Wed Apr 07, 2021 9:12 am
Forum: General discussion
Topic: About SDXC cards
Replies: 21
Views: 1669

Re: About SDXC cards

Berryuser8 wrote:
Mon Apr 05, 2021 1:24 pm
Yes, the cards do work in the card slot of the pi-400 once the new OS is successfully install on them.
Thanks! Useful information!

Cheers,
bzt
by bzt
Wed Apr 07, 2021 9:11 am
Forum: General discussion
Topic: RPI-Imager not working (screen freeze/mouse moves)
Replies: 10
Views: 596

Re: RPI-Imager not working (screen freeze/mouse moves)

Hi RPI-Imager should work, nobody reported similar issue as far as I know. Maybe try USBImager (see homepage and repository with binaries for several OSes). If the problem remains with that too, then you must have a hardware issue. If not, then the problem must be with RPI-Imager or in the QT librar...
by bzt
Mon Apr 05, 2021 9:10 am
Forum: General discussion
Topic: About SDXC cards
Replies: 21
Views: 1669

Re: About SDXC cards

Thank you davidcoton and bxt. I understand more, now. Thank you everyone else that has taken the time to ask questions and participate. I still have a lot to learn, but I understand more than I did. You're welcome. I'm just curious, if you use the adapter to write the card, then can you read back f...
by bzt
Sun Apr 04, 2021 6:41 pm
Forum: General discussion
Topic: About SDXC cards
Replies: 21
Views: 1669

Re: About SDXC cards

So far, w.r.t. SDXC and using RPI Imager I've had no issues Thanks! With respect to Raspberry PIOS being multi-partioned I was referring to this Ah, I see. Yes, there's nothing wrong with partitions, the problem is claiming SD cards has to be formatted with a single exFAT file system. As others hav...
by bzt
Sun Apr 04, 2021 4:22 pm
Forum: General discussion
Topic: About SDXC cards
Replies: 21
Views: 1669

Re: About SDXC cards

They come up "write protected" in rpi-imager, unless they are inserted into the adapter. Your machine probably doesn't support SDXC, only SDHC, that's the reason. And the adapter does support both, that's why. If this has nothing to do with what you are asking, I am sorry. But there is in...
by bzt
Sun Apr 04, 2021 3:58 pm
Forum: General discussion
Topic: About SDXC cards
Replies: 21
Views: 1669

Re: About SDXC cards

... Anyway, I'm waiting for reports from users if they have found any SDXC cards not supporting the RaspiOS image (or any other non-exFAT images for that matter). Cheers, bzt Except, AFAICT Raspberry PIOS images always have at least two partitions There's no "except", RaspiOS images have ...
by bzt
Sun Apr 04, 2021 2:36 pm
Forum: General discussion
Topic: About SDXC cards
Replies: 21
Views: 1669

Re: About SDXC cards

My first question is, where does this "has to be exFAT" originates from? Not from the specification, that's for sure. https://www.sdcard.org/developers/sd-standard-overview/capacity-sd-sdhc-sdxc-sduc/ Yes, I know this page, but it is just a marketing BS (contradicting the actual specifica...
by bzt
Sun Apr 04, 2021 11:19 am
Forum: General discussion
Topic: About SDXC cards
Replies: 21
Views: 1669

Re: About SDXC cards

That's ok, I'm familiar with the limitations of FAT32 as well as of exFAT, that's not the question. I'm asking if according to the spec SDXC cards can't use a single FAT filesystem (FILE_FORMAT = 1 is not allowed, only FILE_FORMAT = 0, meaning partitioned), then where does the spec say that only exF...

Go to advanced search