Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Tegra K1 Chromebook



I moved forward - but not much - after understanding a bit more what cgpt was.
I ran the following, note the change of the -b flag to 64 per Andrew's advice:

DEV=/dev/sdb
sudo parted --script ${DEV} mklabel gpt
sudo cgpt create ${DEV}
sudo cgpt add -t kernel -l kernel -b 64 -s 32768 ${DEV}
sudo cgpt add -i 1 -S 1 -T 5 -P 1 ${DEV}
sudo blockdev --rereadpt ${DEV}

On my Linux machine this created a /dev/sdb1, but it was only created a 17MB /dev/sdb1. The instructions say "The signed image can now be written to partition 1 of the device (/dev/sdb1 in this example).". I interpret this to mean write armv7.img (From here: http://cdn.netbsd.org/pub/NetBSD/NetBSD-8.1/evbarm-earmv7hf/binary/gzimg/) to /dev/sdc1. However, given that it is only 17 MBs, it fails.

What am I doing wrong? Please assist.

On Wed, Nov 20, 2019, at 12:09 AM, Farhan Khan wrote:
> Yeah, looks like Google EOL'd this device, so both Andrew and I had the same basic idea of installing NetBSD and referenced the same link. I apologize, I did not see his email prior.
> 
> Andrew, you are probably much further along than me. I do not know how to get started. Is that cgpt command done prior to dd'ing the image to the USB disk? Also, what image are you using?
> 
> > Hmm. Two people, same basic question, conspiracy perhaps?
> >Before anyone starts suspecting enemy action, there's a more likely
> > scenario - these chrome books are 5 years old and Google's EOLed the
> > updates.
> 
> > On Sat, 9 Nov 2019 at 15:47, Andrew Cagney <andrew.cagney%gmail.com@localhost> wrote:
> >>
> >> Are there any updates to:
> >> https://wiki.netbsd.org/ports/evbarm/tegra-chromebook/
> >> ?
> >>
> >> Andrew
> >>
> >> (well here's one for "sudo cgpt add -t kernel -l kernel -b 32 -s 32768
> >> ${DEV}" it didn't like "-b 32"; but"-b 64", from memory, was ok but
> >> not sure of it is sensible)
> 
> (This is a manual reply-email, so I apologize if it doesn't pick up in your client's threading)
> --
> Farhan Khan
> PGP Fingerprint: 1312 89CE 663E 1EB2 179C 1C83 C41D 2281 F8DA C0DE

--
Farhan Khan
PGP Fingerprint: 1312 89CE 663E 1EB2 179C 1C83 C41D 2281 F8DA C0DE



Home | Main Index | Thread Index | Old Index