![]() |
#91 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 129
Karma: 34471
Join Date: Aug 2013
Location: Cracow, Poland
Device: Kobo Touch N905C
|
HI mmax,
I'm not sure if you can use my image on Kobo Mini, but if that's what Mr_Ploppy did probably you can... I had similar problems with booting from my SD-cards. Try formatting it with SD-Formatter first (it fixed my SD card): https://www.sdcard.org/downloads/formatter_4/ Enable "Format Size Adjustment" option! Then write an image to it. If this won't work - there is another workaround you can override kernel only on working card and copy needed files manually. |
![]() |
![]() |
![]() |
#92 | |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 129
Karma: 34471
Join Date: Aug 2013
Location: Cracow, Poland
Device: Kobo Touch N905C
|
Quote:
![]() |
|
![]() |
![]() |
Advert | |
|
![]() |
#93 |
Member
![]() Posts: 11
Karma: 10
Join Date: Aug 2014
Location: Austria
Device: Kobo Mini
|
No, same problem.
Are there any arguments I should use like block-size when dumping the image on the sd card? |
![]() |
![]() |
![]() |
#94 |
Member
![]() Posts: 11
Karma: 10
Join Date: Aug 2014
Location: Austria
Device: Kobo Mini
|
That's how my SD card looks like with gparted after applying markes image ... Maybe it's the 9MB empty space at the beginning?
![]() |
![]() |
![]() |
![]() |
#95 |
♫
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 661
Karma: 506380
Join Date: Aug 2010
Location: Germany
Device: Kobo Aura / PB Lux 2 / Bookeen Frontlight / Kobo Mini / Nook Color
|
The 9MB at the begining is an indicator for primary partition or not. I ran into that problem too with the original Kobo firmware. Not sure which is needed, change it, either to primary (if it is not set) or remove the primary (if it is set) and try again.
btw, I ran Debian on my Mini, it worked. But I just checked it out when this thread was new and did not use it after a few days. |
![]() |
![]() |
Advert | |
|
![]() |
#96 | |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 523
Karma: 64554
Join Date: Aug 2013
Device: Kobo Glo, GloHD
|
Quote:
You should be very careful not to touch it. |
|
![]() |
![]() |
![]() |
#97 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 87
Karma: 2975
Join Date: Jan 2012
Location: Germany
Device: Kobo Touch
|
This unallocated space holds the partition table, the u-boot loader, the u-boot environment variables, the kernel and the e-ink waveform data.
Most ARM devices do it like that. Regards Aydan EDIT: forgot the HW-config block, it sits in there as well. Last edited by Aydan; 08-12-2014 at 03:37 PM. |
![]() |
![]() |
![]() |
#98 |
Member
![]() Posts: 11
Karma: 10
Join Date: Aug 2014
Location: Austria
Device: Kobo Mini
|
Ok, makes sense ... but why doesn't my Kobo mini boot into debian?
Can anyone else who has a working Kobo mini with debian, supply me with his sd-card image. I really want to use it as a bike-computer, as described above, but my trip will start on friday (in three days) and time is running out. Thanks, Max |
![]() |
![]() |
![]() |
#99 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 87
Karma: 2975
Join Date: Jan 2012
Location: Germany
Device: Kobo Touch
|
What you should probably do is copy the first couple of megabytes of unpartitioned space from an original kobo mini card/image and then put mareks kernel back in. This way you get all the e-ink data and the hardware config block as well.
Regards Aydan |
![]() |
![]() |
![]() |
#100 |
Member
![]() Posts: 11
Karma: 10
Join Date: Aug 2014
Location: Austria
Device: Kobo Mini
|
Allright, here is the partition from a working kobo image:
Code:
fdisk /dev/sdd Command (m for help): p Disk /dev/sdd: 1977 MB, 1977614336 bytes 61 heads, 62 sectors/track, 1021 cylinders, total 3862528 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Device Boot Start End Blocks Id System /dev/sdd1 19456 543744 262144+ 83 Linux /dev/sdd2 543745 1068033 262144+ 83 Linux /dev/sdd3 1068034 3829762 1380864+ b W95 FAT32 Code:
dd if=/dev/sdd of=boot_sector_kobo.img seek=0 bs=512 count=19455 19455+0 records in 19455+0 records out 9960960 bytes (10 MB) copied, 0,664918 s, 15,0 MB/s |
![]() |
![]() |
![]() |
#101 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 87
Karma: 2975
Join Date: Jan 2012
Location: Germany
Device: Kobo Touch
|
you'll have to skip the first sector or you'll overwrite the partition table.
so use skip=1 seek=1 when writing the image to the other card. also check if the other card has enough space before the first partiton or you'll kill the filesystem there. |
![]() |
![]() |
![]() |
#102 |
Member
![]() Posts: 11
Karma: 10
Join Date: Aug 2014
Location: Austria
Device: Kobo Mini
|
Yep ... that's exactly what happened ;-)
|
![]() |
![]() |
![]() |
#103 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 87
Karma: 2975
Join Date: Jan 2012
Location: Germany
Device: Kobo Touch
|
Here's some more info on what is where:
serial number/revision is at block 1 Uboot starts at block 2 (length ??) HW CONFIG is at block 1024 (length 1) Kernel is at block 2048 (length ??) Waveform is at block 14335 (length 2) |
![]() |
![]() |
![]() |
#104 |
Member
![]() Posts: 11
Karma: 10
Join Date: Aug 2014
Location: Austria
Device: Kobo Mini
|
I still couldn't fix it ... it would be more easy if someone would supply me with a working kobo mini image, but no one is responding to private messages :-(
Allrigt, so keep on trying. What I tried now was: Code:
dd if=boot_sector_kobo.img of=/dev/sdd seek=2 bs=512 count=19453 19453+0 records in 19453+0 records out 9959936 bytes (10 MB) copied, 0,144711 s, 68,8 MB/s According to this post, you have to replace the following parts of markes image to run it on the kobo mini: Code:
u-boot: bytes 1025 - 71168 ( from sector 2, length 137 sectors ) hw-config: bytes 524288 - 525312 (from sector 1024, length 1 sector ) Max Last edited by mmax; 08-13-2014 at 04:56 AM. |
![]() |
![]() |
![]() |
#105 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 87
Karma: 2975
Join Date: Jan 2012
Location: Germany
Device: Kobo Touch
|
Code:
dd if=boot_sector_kobo.img of=/dev/sdd seek=2 bs=512 count=19453 Code:
dd if=boot_sector_kobo.img of=/dev/sdd seek=2 skip=2 bs=512 count=19453
What i would suggest you do is dd mareks image onto your SD-card, extract the serial, hwinfo and waveform data from the original sd-card with Code:
dd if=/dev/sdd of=serial bs=512 skip=1 count 1 dd if=/dev/sdd of=hwinfo bs=512 skip=1024 count 1 dd if=/dev/sdd of=waveform bs=512 skip=14335 count 2 Code:
dd if=serial of=/dev/sdd bs=512 seek=1 dd if=hwinfo of=/dev/sdd bs=512 seek=1024 dd if=waveform of=/dev/sdd bs=512 seek=14335 Aydan PS: seek means go to position in output, skip means goto position in input Last edited by Aydan; 08-13-2014 at 09:52 AM. |
![]() |
![]() |
![]() |
Tags |
eink autoupdate, kobo, linux, source code, x11 |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kobo as a Linux tablet - sample image | MarekGibek | Kobo Developer's Corner | 114 | 06-11-2021 10:13 PM |
Debian chroot for Kobo | ah- | Kobo Developer's Corner | 17 | 04-29-2018 05:41 PM |
Installing a "normal" Debian ARMEL Linux on the Kindle | choff | Kindle Developer's Corner | 18 | 09-09-2014 02:42 AM |
Install in Bubba server (Debian Linux bubba 2.6.32.6) | cc_humbry | Calibre | 5 | 07-24-2010 11:22 AM |
Poll Says a Low-Priced Tablet Will Turn the Masses on to E-Reading | Jaime_Astorga | News | 22 | 05-18-2010 09:00 AM |