All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] Compiling Mainline Kernel v4.4.70 Stable to ChormeBook Nvidia Tegra TK1 (Ubuntu-Xenial) -Uboot Not Booting (BlackScreen)
@ 2017-09-12 18:04 Alexandre N. Perfeito
  2017-09-13  4:27 ` Simon Glass
  0 siblings, 1 reply; 2+ messages in thread
From: Alexandre N. Perfeito @ 2017-09-12 18:04 UTC (permalink / raw)
  To: u-boot

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


  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)


Cheers


Perfeito, Alexander

-------------- next part --------------
A non-text attachment was scrubbed...
Name: kernel.its
Type: application/octet-stream
Size: 2075 bytes
Desc: kernel.its
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170912/3de783ac/attachment.obj>

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [U-Boot] Compiling Mainline Kernel v4.4.70 Stable to ChormeBook Nvidia Tegra TK1 (Ubuntu-Xenial) -Uboot Not Booting (BlackScreen)
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Simon Glass @ 2017-09-13  4:27 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-09-13  4:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 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.