All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Glass <sjg@chromium.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] Compiling Mainline Kernel v4.4.70 Stable to ChormeBook Nvidia Tegra TK1 (Ubuntu-Xenial) -Uboot Not Booting (BlackScreen)
Date: Tue, 12 Sep 2017 22:27:45 -0600	[thread overview]
Message-ID: <CAPnjgZ38vMWfJ-8Y_TYVqXvxFVa29gCVdq-agUDmgcif4Uj-QQ@mail.gmail.com> (raw)
In-Reply-To: <BY2PR19MB0295FA0EDBE68767E235EF9FD6690@BY2PR19MB0295.namprd19.prod.outlook.com>

Hi Alexandre,

On 12 September 2017 at 12:04, Alexandre N. Perfeito
<perfeitoan@hotmail.com> wrote:
> Hi All Uboot-(TEGRA users) , My name is Alexander almost done here !!! I
> Need you Help !!! to make the chromebook TegraTk1 model running
> Ubuntu-Xenial Mainline v4.4.0.70 distribution repo not ChromiumOS
> https://chromium.googlesource.com/chromiumos/third_party/kernel/+/v4.4.70
>
>
>   After I compiled the Kernel and  zImage  with this:
>
>
> root at alarm:/# sudo make tegra_defconfig
>
> root at alarm:/# sudo make menuconfig
>
> root at alarm:/# make savedefconfig
> root at alarm:/# sudo make -j5 zImage dtbs modules

That doesn't matter for U-Boot though.

>
>
>   Second: I caught this file in attached Then I runing this command:
>
>
>
> root at alarm:/# sudo /u-boot-tegra/b/nyan-big/tools/mkimage -D "-I dts -O dtb
> -p 2048" -f kernel.its vmlinux.uimg
>
>   Third:
>
> file bootloader create with:
>
>
> root at alarm:/#sudo dd if=/dev/zero of=bootloader.bin bs=512 count=1  -- > #
> dummy file
>
>    Fourth:
>
> file config.txt create with:
>
> echo 'console=tty0 init=/sbin/init root=PARTUUID=%U/PARTNROFF=1 rootwait rw
> noinitrd' > config.txt
>
> and do this commands:
>
>
>  root at alarm:/#sudo make INSTALL_MOD_PATH=/lib/modules/4.4.0.70-ARCH
> modules_install
>
> root at alarm:/#sudo make INSTALL_DTBS_PATH=/boot/dtbs" dtbs_install
>
>  root at alarm:/#sudo depmod -F System.map "4.4.0.70-ARCH"
>
>
>     Fifth :
>
> After the files created I runnig this scripth  file Kernel.sh below:
>
> vbutil_kernel \
>     --pack vmlinux.kpart \
>     --version 1 \
>     --vmlinuz vmlinux.uimg \
>     --arch arm \
>     --keyblock  /usr/share/vboot/devkeys/kernel.keyblock \
>     --signprivate /usr/share/vboot/devkeys/kernel_data_key.vbprivk \
>     --config config.txt \
>     --bootloader bootloader.bin
>
> file vmlinux.kpart created
>
>      Sixth : Put the file vmlinux.kpart in Kernel Partition /dev/sda6
>
> root at alarm:/# sudo dd if=vmlinux.kpart of=/dev/sda6
>
>       Seventh:
>
> I copy this file vmlinux.kpart   in /boot from my USB drive Rootfs partition
> and zImage file
>
>
>
> Follow my USB /dev/sda parttion:
>
> [aperfeito at alarm ~]$ sudo cgpt show /dev/sda
> [sudo] password for aperfeito:
>        start        size            part           contents
>            0           1                                PMBR (Boot GUID:
> AD11024D-1016-B345-A21D-F7B823B0318A)
>            1           1                                Pri GPT header
>            2          32                               Pri GPT table
>           64       32768           6              Label: "KERN-A"
>                                                           Type: ChromeOS
> kernel
>                                                           UUID:
> D43B02E7-AF2D-3642-93D8-370D84193655
>                                                           Attr: priority=0
> tries=0 successful=0
>        65600    53542815     7             Label: "ROOT-A"
>                                                          Type:
> 0FC63DAF-8483-4772-8E79-3D69D8477DE4
>                                                          UUID:
> A01D12A1-C0E2-D54C-B68A-6E24E3896AE2
>     61997023          32                       Sec GPT table
>     61997055           1                        Sec GPT header
>
>
> What I have doing wrong ? Chromebook Bleps one attempt when using ctlr+U or
> more than 0 (zero) tries (Black Screen)

Have you tried the README.chromium steps? It actually looks very
similar to what you have here. But it has been tested.

Regards,
Simon

      reply	other threads:[~2017-09-13  4:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-12 18:04 [U-Boot] Compiling Mainline Kernel v4.4.70 Stable to ChormeBook Nvidia Tegra TK1 (Ubuntu-Xenial) -Uboot Not Booting (BlackScreen) Alexandre N. Perfeito
2017-09-13  4:27 ` Simon Glass [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAPnjgZ38vMWfJ-8Y_TYVqXvxFVa29gCVdq-agUDmgcif4Uj-QQ@mail.gmail.com \
    --to=sjg@chromium.org \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.