View Single Post
Old 03-02-2019, 01:22 PM   #25
nicke
Member
nicke began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Jan 2008
Location: Bentonville, AR
Device: REB1100,Kobo:1,Wifi,Touch,Mini,Aura,Glo
I was able to verify that dnw-linux was able to quickly transfer the image files to the kobo from a PC.

On Ubuntu 18.04, DNW and the driver (secbulk) had to be compiled separately. The driver secbulk needed a "fixed" Makefile:

Code:
obj-m := secbulk.o
KDIR := /lib/modules/`uname -r`/build
PWD := $(shell pwd)

Default :
	 $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules
Clean:
	 $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) clean
	 rm -rf *.order *.symvers
On the Linux PC, I manually loaded the kernel module:

sudo insmod secbulk.ko

On the Kobo (stopped in u-boot):

eBR-1A # loadum 0x3100000

On the Linux PC:
./dnw -a 0x31000000 test.txt

On the Kobo:

eBR-1A # md 0x31000000

shows the memory dump of the file just uploaded. If loadu has been used instead, it would have been written to the flash a the address 0x31000000.
nicke is offline   Reply With Quote