Go to advanced search

by bzt
Sun Oct 11, 2020 3:54 pm
Forum: Bare metal, Assembly language
Topic: Displaying fonts
Replies: 17
Views: 2625

Re: Displaying fonts

Hello bzt, I'm currently using STB's library for TTF fonts in my project, I'm curious how easy it would be to switch in your library? Actually I don't know. I haven't used stb_truetype in production, only freetype and some other renderers. I felt STB's was a bit overcomplicated to integrate, but I ...
by bzt
Sun Oct 11, 2020 3:22 pm
Forum: Bare metal, Assembly language
Topic: Displaying fonts
Replies: 17
Views: 2625

Re: Displaying fonts

Sure the vertex shader is working fine because I can see the black squares where the glyphs are supposed to show. The problem is the texture. Try to split the problem into two: 1. dump the texture in memory instead of displaying it through a shader: does it contain valid glyphs? 2. try using a know...
by bzt
Sat Oct 10, 2020 1:56 pm
Forum: C/C++
Topic: WEB API for a barcode scanner
Replies: 6
Views: 314

Re: WEB API for a barcode scanner

I wasn't trying to get into an arguemnt over approaches or run down your work. I know, no worries :-) I replied because I tried to explain my reasons for choosing this solution over the others in this scenario. The thing about USB over IP vs webAPI is that your application software doesn't need any...
by bzt
Fri Oct 09, 2020 2:08 pm
Forum: C/C++
Topic: WEB API for a barcode scanner
Replies: 6
Views: 314

Re: WEB API for a barcode scanner

3. USB over IP does not provide a WEB API, harder to integrate with the existing software Not sure about that. As far as softwafe on the client end is concerned it just sees another USB device. Not exactly. To see that net protocol as an USB device, there's a need for a special driver on the client...
by bzt
Thu Oct 08, 2020 12:04 pm
Forum: C/C++
Topic: WEB API for a barcode scanner
Replies: 6
Views: 314

Re: WEB API for a barcode scanner

Interesting but why not use USB over IP to expose the barcode reader to the other computer? For several reasons: 1. I already had an RPi, so why spend more money on a new hardware. But even if I hadn't, an USB over IP costs ca. $40 (an 1 USB / 1 LAN port HUB on ebay), an RPi is cheaper, ca. $30. 2....
by bzt
Wed Oct 07, 2020 6:37 pm
Forum: C/C++
Topic: WEB API for a barcode scanner
Replies: 6
Views: 314

WEB API for a barcode scanner

Hi, I think the title says it all. I needed such an tool, and I've decided to use a Raspberry Pi. The USB barcode scanner is connected to the Pi, Linux recognizes it as an inputX device. The computer that processes barcodes is in the other room (out of USB cable range), connected to the Pi via LAN. ...
by bzt
Sun Sep 27, 2020 2:22 pm
Forum: Bare metal, Assembly language
Topic: LdB's USB driver - Question
Replies: 67
Views: 2323

Re: LdB's USB driver - Question

Hi, I have a feeling that this has something to do with the address translation but am not deep enough in the code yet to understand what is going wrong. Can someone maybe point me in the right direction here? I'm not sure, but I'm guessing you are mapping the MMIO wrong. For MMIO the mappings are s...
by bzt
Wed Sep 23, 2020 6:45 pm
Forum: General discussion
Topic: USB image writer
Replies: 185
Views: 18479

Re: USB image writer

Hi @Anitapatel, I'm not exactly sure what was your intention with quoting that old post. But you should have used [ quote ] tags, btw. Just to be clear, time flies by and things have changed since: 1. Although Raspberry Pi still recommends balenaEtcher on the homepage, they also have created Raspber...
by bzt
Wed Sep 23, 2020 10:54 am
Forum: General discussion
Topic: USB image writer
Replies: 185
Views: 18479

Re: USB image writer Access Denied

Because that was the first one I saw on gitlab. Okay, I've double checked, the link on README now points to 1.0.5 for sure. I just got the correct one and will try but I hit something else that I need to experiment with. I think you are right about another application. It could be a problem with my...
by bzt
Tue Sep 22, 2020 7:43 pm
Forum: General discussion
Topic: USB image writer
Replies: 185
Views: 18479

Re: USB image writer

Dear All, USBImager 1.0.5 is out! Not much changed. Changelog - Added support for ZStandard compressed disk images - Added an initial version of ARM64 (AArch64) Linux binary - No MacOS nor Ubuntu deb binary sadly Unfortunately my machine that I used to run my VMs on proved again that computers work ...
by bzt
Mon Sep 21, 2020 5:07 pm
Forum: General discussion
Topic: USB image writer
Replies: 185
Views: 18479

Re: USB image writer

When I select my USB stick and click on "read" in Win 10 the tool crashes on my computer... I've found the problem! Believe it or not, this is actually a gcc bug! I've updated to the latest MSYS2 before I compiled 1.0.5 for Win, and I did not notice something went wrong (there was no warning during...
by bzt
Mon Sep 21, 2020 1:40 pm
Forum: General discussion
Topic: USB image writer
Replies: 185
Views: 18479

Re: USB image writer Access Denied

Just downloaded usbimager_1.0.1-i686-win-gdi.zip Run as Administrator. "Access is denied. Unable to unmount volumes on device." You're not running it properly as Administrator maybe? You should not see "Access denied" message when running as Administrator. My other guess would be that another appli...
by bzt
Mon Sep 21, 2020 1:30 pm
Forum: General discussion
Topic: USB image writer
Replies: 185
Views: 18479

Re: USB image writer

thanks for developing a new promising tool. Welcome! Is reading from USB and writing to backup image file in the Windows version already implemented or does it only support to write existing images to USB so far? Yes it is. all features are implemented in all versions. When I select my USB stick an...
by bzt
Tue Sep 08, 2020 3:56 pm
Forum: General discussion
Topic: can i use a saved ISO to rebuild by Raspberry 3 Sd
Replies: 4
Views: 307

Re: can i use a saved ISO to rebuild by Raspberry 3 Sd

Can i make a bootable SD image for my rasberry PI 3 from a saved ISO file or using my ISO file? Yes, I regularly do that using USBImager (forum topic here ). If you are not afraid of command line, you can also use the "dd" command on a Linux host. FYI: raw disk images are usually only called "ISO" ...
by bzt
Mon Sep 07, 2020 4:19 pm
Forum: General discussion
Topic: USB image writer
Replies: 185
Views: 18479

Re: USB image writer

Hi, Another (very) small update. So small, that I haven't bumped the version, because only two binaries are affected, all the rest unchanged. Also these modifications do not change the core functionality, they are only pretty small UI tweaks. Download at the usual link: https://gitlab.com/bztsrc/usb...
by bzt
Mon Aug 24, 2020 4:13 pm
Forum: Bare metal, Assembly language
Topic: Query Raspberry Pi Model
Replies: 4
Views: 385

Re: Query Raspberry Pi Model

Hi You can do the latter what @LdB said from C inline Assembly and for AArch64 as well. See here . Note, this code only checks for RPi3 and RPi4 because older models can't use AArch64. It also masks the MIDR value to the board identifier. register int reg; asm volatile ("mrs %0, midr_el1" : "=r" (re...
by bzt
Fri Jul 31, 2020 1:15 pm
Forum: Bare metal, Assembly language
Topic: Emulator for directly programing RPi
Replies: 12
Views: 1142

Re: Emulator for directly programing RPi

Well, let's see what's different here than on the RPI 3 ... As long as my tutorials concerned, the MMIO base address is different. There are more peripherals on the RPi4, but those are not covered in my tutorials (VC 3D, GIC, etc.). You can find links on the README to other tutorials and sources wh...
by bzt
Sat Jul 25, 2020 10:25 pm
Forum: Bare metal, Assembly language
Topic: Emulator for directly programing RPi
Replies: 12
Views: 1142

Re: Emulator for directly programing RPi

I don't get it. What's wrong with qemu? It is the perfect candidate for what the OP wants. You can run it as "qemu -M raspi2" to emulate 32 bit RPi2 (for those Cambridge tutorials the OP linked), or "qemu -M raspi3" for 64 bit. It is true, that the emulation is not fully complete, but pretty good. A...
by bzt
Tue Jul 14, 2020 1:21 pm
Forum: Wanted
Topic: HELP WANTED for pub's advertising screen
Replies: 10
Views: 1322

Re: HELP WANTED for pub's advertising screen

I can easily do that for you! I've have a simple webengine that works on Raspberry Pi 2 too. I've used it for many kiosks, where the Pi boots into a fullscreen browser, displaying a page generated locally. With a proper configuration and set up, you can then modify what's shown using a nice What You...
by bzt
Tue Jul 07, 2020 7:58 pm
Forum: Bare metal, Assembly language
Topic: how to run the program ?
Replies: 9
Views: 686

Re: how to run the program ?

Just for the records, if you're looking for a fully-featured solution, then I recommend my BOOTBOOT loader . That works with 64 bit (RPi3/RPi4 only), and it loads an initrd from SD card or over serial (your choice). It then locates your kernel inside that initrd (which can be a cpio or tar archive),...
by bzt
Tue Jul 07, 2020 7:48 pm
Forum: Bare metal, Assembly language
Topic: how to run the program ?
Replies: 9
Views: 686

Re: how to run the program ?

btw I noticed something, since the bootloader uses the uart, then the program I am uploading can't use the uart Why couldn't it use the uart? You make no sense. The bootloader uses the uart, that's true, but as soon as it transfers control to the kernel, you're free to clear the bootloder from the ...
by bzt
Mon Jul 06, 2020 7:07 am
Forum: Bare metal, Assembly language
Topic: how to run the program ?
Replies: 9
Views: 686

Re: how to run the program ?

Try imgrecv . It executes the kernel automatically once it has received it. Available for all Pi models (Pi Zero, 1-4, both 32 and 64 bit). For sending the compiled kernel, I recommend USBImager -S , which is a very minimal GUI application for Windows, Linux and MacOS. (It's primarily a tool to writ...
by bzt
Sat Jul 04, 2020 12:02 am
Forum: Networking and servers
Topic: Strange File Manager behaviour with mounted drive
Replies: 2
Views: 187

Re: Strange File Manager behaviour with mounted drive

Don't use samba, try cifs (the successor to smb). Should be supported by your NAS. Simply mount /mnt/z using mount.cifs instead of smbfs.

Cheers,
bzt
by bzt
Fri Jul 03, 2020 11:44 pm
Forum: Gentoo
Topic: Updated 64-bit Gentoo Image for RPi3 Released (now also for RPi3B+ and RPi4B)
Replies: 536
Views: 158755

Re: Updated 64-bit Gentoo Image for RPi3 Released (now also for RPi3B+ and RPi4B)

Hi, There is a 'usbimager' showing up (on GUI). Don't know if that can do the job. I'm the developer of USBImager. Yes, it can do the job, it was specifically designed to do that :-) On the remote terminal I am using now the following is what I get demouser@pi64 / $ usbimager Unable to open display ...
by bzt
Mon Jun 29, 2020 9:09 pm
Forum: General discussion
Topic: USB image writer
Replies: 185
Views: 18479

Re: USB image writer

bassamanator wrote:
Sat Jun 27, 2020 10:13 pm
Just used this today.

It's a keeper!
Thanks! Good to hear it's useful to you :-) Give a star to the repo ;-)

Cheers,
bzt

Go to advanced search