Re: Testing boot loaders

2017-03-01 Thread Lennart Sorensen
On Wed, Mar 01, 2017 at 04:34:12PM +, Mark Morgan Lloyd wrote: > On 01/03/17 15:00, Lennart Sorensen wrote: > >On Wed, Mar 01, 2017 at 08:57:15AM +, Mark Morgan Lloyd wrote: > >>Yes, I agree. What I don't know yet is whether there's a comparatively > >>straightforward way to copy the loader

Re: Testing boot loaders

2017-03-01 Thread Mark Morgan Lloyd
On 01/03/17 15:00, Lennart Sorensen wrote: On Wed, Mar 01, 2017 at 08:57:15AM +, Mark Morgan Lloyd wrote: Yes, I agree. What I don't know yet is whether there's a comparatively straightforward way to copy the loader (plus its header etc.) into the appropriate area of Qemu's address space and

Re: Testing boot loaders

2017-03-01 Thread Lennart Sorensen
On Wed, Mar 01, 2017 at 08:57:15AM +, Mark Morgan Lloyd wrote: > Yes, I agree. What I don't know yet is whether there's a comparatively > straightforward way to copy the loader (plus its header etc.) into the > appropriate area of Qemu's address space and then transfer to it. Ideally > after th

Re: Testing boot loaders

2017-03-01 Thread Mark Morgan Lloyd
On 28/02/17 21:30, Lee Fisher wrote: On 02/28/2017 11:38 AM, Mark Morgan Lloyd wrote: [...] Is it possible to use Qemu or some comparable emulator to check the boot sequence in situ, i.e. without breaking the U-Boot and kernel images out into separate files? There are a few tools which take em

Re: Testing boot loaders

2017-03-01 Thread Mark Morgan Lloyd
On 28/02/17 22:30, Lennart Sorensen wrote: On Tue, Feb 28, 2017 at 07:38:28PM +, Mark Morgan Lloyd wrote: I wonder whether I could ask a general question, with a particular focus on Debian ARM devices. I've got in front of me a file containing the image of an SD-Card that I've exfiltrated f

Re: Testing boot loaders

2017-02-28 Thread Lennart Sorensen
On Tue, Feb 28, 2017 at 07:38:28PM +, Mark Morgan Lloyd wrote: > I wonder whether I could ask a general question, with a particular focus on > Debian ARM devices. > > I've got in front of me a file containing the image of an SD-Card that I've > exfiltrated from a Kobo ereader onto which somebo

Re: Testing boot loaders

2017-02-28 Thread Lee Fisher
On 02/28/2017 11:38 AM, Mark Morgan Lloyd wrote: [...] > Is it possible to use Qemu or some comparable emulator to check the boot > sequence in situ, i.e. without breaking the U-Boot and kernel images out > into separate files? There are a few tools which take embedded Linux/Android disk images,

Testing boot loaders

2017-02-28 Thread Mark Morgan Lloyd
I wonder whether I could ask a general question, with a particular focus on Debian ARM devices. I've got in front of me a file containing the image of an SD-Card that I've exfiltrated from a Kobo ereader onto which somebody wants me to put Debian. It appears to have a common or garden partitio