Open moorlag opened 3 years ago
Re-running the command gives
make: *** [epsilon.bin] Error 1
Can you try with make build/device/epsilon_flash
?
UPDATE: I tried it with the calculator in recovery mode... and it worked :-) Now some finetuning with the Rasberry Pi :-) thanks!
Can you try with
make build/device/epsilon_flash
?OBJCOPY build/device/epsilon.bin Padding build/device/epsilon.bin DFU build/device/epsilon_flash INFO About to flash your device. Please plug your device to your computer using an USB cable and press the RESET button the back of your device. /bin/sh: dfu-util: command not found
After installing - brew install dfu-util
dfu-util: Warning: Invalid DFU suffix signature dfu-util: A valid DFU suffix will be required in a future dfu-util release!!! Opening DFU capable USB device... ID 0483:a291 Run-time device DFU version 0100 Claiming USB DFU Interface... Setting Alternate Setting #0 ... Determining device status: state = dfuIDLE, status = 0 dfuIDLE, continuing DFU mode device DFU version 0100 Warning: DfuSe option used on non-DfuSe device Device returned transfer size 2048 DfuSe interface name: "Flash" Downloading element to address = 0x08000000, size = 741754 Erase [ ] 0% 0 bytesdfu-util: Error during special command "ERASE_PAGE" get_status make: *** [build/device/epsilon_flash] Error 74 rm build/device/epsilon.bin
I've followed the tutorial to the letter, when I run the application on the calculator it just gives a gray screen. I do have a SSH connection with the Pi. Any tips on troubleshooting?
I think you should check if the kernel module is loaded, and fbcp is working. Without fbcp, you can also just try to write some random data to /dev/fb1 to check if something is displayed on the screen.
I have a known working sd card image for a Raspberry Pi Zero. It is a little bit old, but it may be helpful to test for a hardware problem : https://transfer.sh/1LEyEjM/2019-07-10-raspbian-buster-full-rpi-trimmed.lzma (sha256 : 4c046ba8b47868805f64e6316b442cad20487b51216ef4b5e74c184573f1148a) With this image, booting is sometimes very slow, more than one minute.
I think you should check if the kernel module is loaded, and fbcp is working. Without fbcp, you can also just try to write some random data to /dev/fb1 to check if something is displayed on the screen.
I have a known working sd card image for a Raspberry Pi Zero. It is a little bit old, but it may be helpful to test for a hardware problem : https://transfer.sh/1LEyEjM/2019-07-10-raspbian-buster-full-rpi-trimmed.lzma (sha256 : 4c046ba8b47868805f64e6316b442cad20487b51216ef4b5e74c184573f1148a) With this image, booting is sometimes very slow, more than one minute.
thanks! I've downloaded the file... but I have no experience with lzma-files ... I've been Googling the last few days, but no where closer to extract the file to a memory card,
From linux, you should run something like this : xzcat 2019-07-10-raspbian-buster-full-rpi-trimmed.lzma > /dev/mmcblk0
(/dev/mmcblk0 being your SD card). From windows, I guess you can extract the raw image using 7zip, then writing it to the SD card the same way as an "official" raspberry pi image.
After installing the SDK; I have this error with this command make epsilon_flash. It was from the directory that was made with the repo.
LD epsilon.elf ion/src/device/stack.cpp:4:21: warning: type of '_stack_end' does not match original declaration [-Wlto-type-mismatch] 4 | extern const void * _stack_end; | ^ ion/src/device/usb/dfu_relocated.cpp:6:13: note: '_stack_end' was previously declared here 6 | extern char _stack_end; | ^ OBJCOPY epsilon.bin arm-none-eabi-objcopy: 'epsilon.elf': No such file make: *** [epsilon.bin] Error 1