[Gta04-owner] Trying to flash U-Boot led to a bricked device

cnut cnut at posteo.de
Wed Mar 7 19:33:06 CET 2018


Thank you Andreas, for your detailed mail.

 > If you boot with aux pressed...
dmesg shows that the device is not dead.


 > A serial cable would be helpful to find out.
If you are talking about a JTAG serial cable: I do not have one. But I 
am interested in having a look how this works. If you have a link which 
cable is needed and how to use it, I am happy to gain a little bit more 
knowledge in this area.


 > 1. clone my omap-utils fork...
 > 2. do a make

$ make
Compiling:  src/pserial.c
Compiling:  lib/serial_posix.c
lib/serial_posix.c: In function ‘s_break’:
lib/serial_posix.c:418:15: warning: unused variable ‘ret1’ 
[-Wunused-variable]
   int ret = 0, ret1;
                ^~~~
lib/serial_posix.c:435:1: warning: control reaches end of non-void 
function [-Wreturn-type]
  }
  ^
Compiling:  lib/file_posix.c
Compiling:  lib/f_status.c
Compiling:  lib/lcfg/lcfg_static.c
Generating:  pserial

Compiling:  src/ukermit.c
Generating:  ukermit

Compiling:  src/ucmd.c
Generating:  ucmd

Compiling:  src/gpsign.c
Generating:  gpsign

Compiling:  src/tagger.c
src/tagger.c: In function ‘generate_tag’:
src/tagger.c:191:9: warning: cast from pointer to integer of different 
size [-Wpointer-to-int-cast]
   return (u32) param - (u32) buffer;
          ^
src/tagger.c:191:23: warning: cast from pointer to integer of different 
size [-Wpointer-to-int-cast]
   return (u32) param - (u32) buffer;
                        ^
Generating:  tagger

Compiling:  src/sysrq.c
Generating:  sysrq

Compiling:  src/pusb.c
/bin/sh: 1: pkg-config: not found
src/pusb.c:45:20: fatal error: libusb.h: No such file or directory
  #include <libusb.h>
                     ^
compilation terminated.
makefile:195: recipe for target 'src/pusb.o' failed
make: *** [src/pusb.o] Error 1



What went wrong?

I use Debian Stretch.
build-essential and libusb-1.0-0-dev are installed.


Regards
cnut



On 03/04/2018 12:15 AM, Andreas Kemnade wrote:
> 1. clone my omap-utils fork:
> https://github.com/akemnade/omap-u-boot-utils
> 2. do a make
>      and sudo make install there (will need libusb-1.0-0-dev)


More information about the Gta04-owner mailing list