bigtreetech / CB2

The official repo for the BTT Pi2 and CB2
https://bttwiki.com/Pi2.html
61 stars 7 forks source link

Balena Etcher and CB2 Klipper Firmware failing #40

Open txmedictom opened 3 weeks ago

txmedictom commented 3 weeks ago

I have tried multiple SD cards and downloaded the CB2 Klipper image several times with no luck. I am having to use the minimal image then install Klipper. Is there a problem with the file?

Pneumanifest commented 3 weeks ago

Are you saying that it is not working or you are getting the failed message at the end of it going through the flash and verify process. The latter is an error somewhere in Balena etcher. I often get failed error messages from various images, not just the CB2 one, and all is actually flashed fine. It's something to do with the verification process. I think it might be with the way there's different partitions made, because I often get the error with multi partition images.

txmedictom commented 3 weeks ago

It fails verification and will not write a usable image to the SD card. I have to use the minimal the KIAUH to get everything else current.

Pneumanifest commented 3 weeks ago

The failure of verification does not always mean that there was an actual failure. It's quite often based off of hash numbers and when you split up partitions hash numbers can get mismatches. Every image that I have had a failure to verify has always worked as expected. Did you try to use the what was burned even though the error was given?

txmedictom commented 3 weeks ago

It doesn't write anything so I can't try to boot to it at all.

Pneumanifest commented 3 weeks ago

That's odd that nothing is written. It writes before it verifies. Have you unzipped the image before writing the image?

txmedictom commented 3 weeks ago

No, I am not unzipping anything. I just use it to write the image. The same way that I wrote the image for the minimal that works.

WEBOWNIA commented 3 weeks ago

Same here. I can't flash any of the available images. I'm experiencing the same issue as my colleague.

zhangyumingsh commented 3 weeks ago

Same here. I can't flash any of the available images. I'm experiencing the same issue as my colleague.

I downloaded it from the internet and tested it.

I have tried multiple SD cards and downloaded the CB2 Klipper image several times with no luck. I am having to use the minimal image then install Klipper. Is there a problem with the file?

What version is the minimum image?I will download it from the git and test it.

zhangyumingsh commented 3 weeks ago

I have tried multiple SD cards and downloaded the CB2 Klipper image several times with no luck. I am having to use the minimal image then install Klipper. Is there a problem with the file?

The Klipper image we released was tested by a testing engineer before being released. Generally, the system runs normally without any problems.

txmedictom commented 3 weeks ago

Got it working.

I used Raspberry Pi Imager and got it working. Balena evidently doesn't like the BTT image but RPi Imager did it just fine.

On Thu, Nov 7, 2024, 10:13 PM zhangyumingsh @.***> wrote:

Same here. I can't flash any of the available images. I'm experiencing the same issue as my colleague.

I downloaded it from the internet and tested it.

I have tried multiple SD cards and downloaded the CB2 Klipper image several times with no luck. I am having to use the minimal image then install Klipper. Is there a problem with the file?

What version is the minimum image?I will download it from the git and test it.

— Reply to this email directly, view it on GitHub https://github.com/bigtreetech/CB2/issues/40#issuecomment-2463719736, or unsubscribe https://github.com/notifications/unsubscribe-auth/AX5MSZU6L5CO4PHY72R4IBLZ7Q27PAVCNFSM6AAAAABRJQKTYOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRTG4YTSNZTGY . You are receiving this because you authored the thread.Message ID: @.***>

Pneumanifest commented 3 weeks ago

No, I am not unzipping anything. I just use it to write the image. The same way that I wrote the image for the minimal that works.

Sometimes you must unzip the compressed image file.

Pneumanifest commented 3 weeks ago

Got it working. I used Raspberry Pi Imager and got it working. Balena evidently doesn't like the BTT image but RPi Imager did it just fine.

Yeah raspberry pi imager fully unzips, if it is compressed, before it attempts to flash. It's good practice to unzip a compressed.img file before attempting to flash.

zhangyumingsh commented 3 weeks ago

Same here. I can't flash any of the available images. I'm experiencing the same issue as my colleague.

Please refer to the user manual for instructions

zhangyumingsh commented 3 weeks ago

Got it working. I used Raspberry Pi Imager and got it working. Balena evidently doesn't like the BTT image but RPi Imager did it just fine. On Thu, Nov 7, 2024, 10:13 PM zhangyumingsh @.> wrote: Same here. I can't flash any of the available images. I'm experiencing the same issue as my colleague. I downloaded it from the internet and tested it. I have tried multiple SD cards and downloaded the CB2 Klipper image several times with no luck. I am having to use the minimal image then install Klipper. Is there a problem with the file? What version is the minimum image?I will download it from the git and test it. — Reply to this email directly, view it on GitHub <#40 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AX5MSZU6L5CO4PHY72R4IBLZ7Q27PAVCNFSM6AAAAABRJQKTYOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRTG4YTSNZTGY . You are receiving this because you authored the thread.Message ID: @.>

Thank you for your feedback. We used BalenaEtcher for testing, I'll test it again

Pneumanifest commented 3 weeks ago

BalenaEtcher is my main flashing tool too. It has worked every time. Although it does occasionally throw a Flash Failed. error at the end when trying to verify the image. Even with the verify error it has always worked for me. I have just started ignoring that error.

Pneumanifest commented 3 weeks ago

Further digging shows the etcher team is somewhat aware of the issue and have an open ticket on it. It mostly looks like what I suspect, it a match hash error. Not an actual flashing error.

WEBOWNIA commented 3 weeks ago

2024-11-08 09_56_57-Przeszedłem na Manta E3EZ i stopiłem silnik krokowy osi Y (obudowę) w mojej druk

Pneumanifest commented 3 weeks ago

If it is the .img.xz unzip the file first.

WEBOWNIA commented 3 weeks ago

Yes, it’s unpacked before flashing.

Pneumanifest commented 3 weeks ago

Yes, it’s unpacked before flashing.

you might need to download that again. That looks like a file error.

WEBOWNIA commented 3 weeks ago

I tried downloading all three versions, and after unpacking, flashing results in the same error. Ultimately, it doesn’t matter whether the image is unpacked or not.

However, Raspberry Pi Imager doesn’t return an error and creates the disk, but then I face another issue—the bootloader doesn’t start on the Manta E3EZ V1.0. I’ve already reported this separately on https://github.com/bigtreetech/Manta-E3EZ/issues/45

txmedictom commented 3 weeks ago

This is the issue I had. Balena errors and would not write anything. RPi Imager goes right through and doesn't care. I would strongly recommend using the Ed's 3d Printer Tutorials method of using RPi Imager. My E3EZ + CB2 are not working. Now I am trying to get a solution to getting the EBB36 since there seems to be nothing out there to clarify the differences in pins between a Manta 5 and an E3EZ. They used an almost illegible yellow on the PDF for the board. BTT seems to have almost no informati9on about the CAN specific details for the E3EZ. I have been referred to Esoterical's we site by someone on Discord. I plan to work on that today. You would think that a board that works so well in Tridents, Switchwires, etc would have details about full CAN setup.

bigtreetech commented 3 weeks ago

This is the issue I had. Balena errors and would not write anything. RPi Imager goes right through and doesn't care. I would strongly recommend using the Ed's 3d Printer Tutorials method of using RPi Imager. My E3EZ + CB2 are not working. Now I am trying to get a solution to getting the EBB36 since there seems to be nothing out there to clarify the differences in pins between a Manta 5 and an E3EZ. They used an almost illegible yellow on the PDF for the board. BTT seems to have almost no informati9on about the CAN specific details for the E3EZ. I have been referred to Esoterical's we site by someone on Discord. I plan to work on that today. You would think that a board that works so well in Tridents, Switchwires, etc would have details about full CAN setup.

https://github.com/bigtreetech/Manta-E3EZ/blob/master/Hardware/BIGTREETECH%20Manta%20E3EZ%20V1.0-PIN.png

The can pins are identified here. There is not much more to it. The rest is all described in the standard klipper documentation on setting up a USB to CAN bridge.

WEBOWNIA commented 3 weeks ago

This is the issue I had. Balena errors and would not write anything. RPi Imager goes right through and doesn't care. I would strongly recommend using the Ed's 3d Printer Tutorials method of using RPi Imager. My E3EZ + CB2 are not working.

:+1: We need to join forces… But in the videos, they show it working, although I find it curious that exactly at this moment https://www.youtube.com/watch?v=XfZppjHU0ak&t=531s, the guy removes another card from the frame, as if he already had one set up next to it.

txmedictom commented 3 weeks ago

This is the issue I had. Balena errors and would not write anything. RPi Imager goes right through and doesn't care. I would strongly recommend using the Ed's 3d Printer Tutorials method of using RPi Imager. My E3EZ + CB2 are not working.

👍 We need to join forces… But in the videos, they show it working, although I find it curious that exactly at this moment https://www.youtube.com/watch?v=XfZppjHU0ak&t=531s, the guy removes another card from the frame, as if he already had one set up next to it.

He uses RPi Imager and it does the CB2 image just fine. My issue is setting up the EBB now. I can geet the CB2 Klipper image and all of that done. BTT just sent me the firmware config image for what pins to select, etc on Katapult. I am working on that now. The problem I have is the whole order of when you connect to PC, when you connect to USB on the Manta, and when you connect to the CAN pins. All of the documentation and process that I have seen is confusing. The best one I have seen so far is from https://www.youtube.com/watch?v=EA-oBfenxAE&t=1992s and it is still a little confusing but now I have the right pins to assign in Katapult and Klipper for the Manta E3EZ so I will give it another shot later today.

WEBOWNIA commented 3 weeks ago

@bigtreetech Can you put checksums on to other versions (https://github.com/bigtreetech/CB2/releases)?

bigtreetech commented 2 weeks ago

@bigtreetech Can you put checksums on to other versions (https://github.com/bigtreetech/CB2/releases)?

Do you mean a manually pasted hash? The checksum that balena uses is calculated by the tool itsef.

WEBOWNIA commented 2 weeks ago

OK, I understand. Anyway, after a few attempts, I managed to flash it successfully, so everything worked out for me in the end.