[Letux-kernel] patchset enable distro support

Josua Mayer josua.mayer at jm0.eu
Mon Apr 17 21:35:50 CEST 2017


Hi everybody,

Here comes another patch for this set. It passes on the console=ttyO2
cmdline option as part of devicetree.
This is mostly useful because grub has no way of coming up with this
option on its own.

Now it is completely sufficient to launch linux from grub using just
*one* cmdline option, namely root=, and still get a working console on
serial!!!!

If you want to test the full functionality:
patched grub2 is available at deb
http://repo.solid-build.xyz/obs/BSP:/IMX6/Debian_Stretch/ /
package: grub-efi-arm

Generating the EFI image for boot:
grub-install --target=arm-efi --removable --efi-directory=/boot
# using the boot partition also for EFI

The default boot-script messes with bootcmd!!!
Make sure to grab the default environment before running boot:
env default -a -f
boot

br
Josua

Am 17.04.2017 um 15:35 schrieb H. Nikolaus Schaller:
> Hi,
>
>> Am 17.04.2017 um 15:18 schrieb Josua Mayer <josua.mayer at jm0.eu>:
>>
>> Hi everybody,
>>
>> I have now come up with the necessary bits to get distro_boot working on
>> the gta04.
>>
>> Still missing:
>> - change the magical boot menu boot-script to use the distro commands
>> on selected partitions, instead of looking for bootargs.scr
>> - find out what is needed for other letux devices
>>
>> br
>> Josua
> Great work! I will test and merge.
>
> BR and thanks,
> Nikolaus
>
>> <0002-gta04-override-beaglerev-variable.patch><0001-omap3_beagle-use-config_distro_bootcmd.patch>_______________________________________________
>> http://projects.goldelico.com/p/gta04-kernel/
>> Letux-kernel mailing list
>> Letux-kernel at openphoenux.org
>> http://lists.goldelico.com/mailman/listinfo.cgi/letux-kernel
>
>
> _______________________________________________
> http://projects.goldelico.com/p/gta04-kernel/
> Letux-kernel mailing list
> Letux-kernel at openphoenux.org
> http://lists.goldelico.com/mailman/listinfo.cgi/letux-kernel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.goldelico.com/pipermail/letux-kernel/attachments/20170417/ff0ecf02/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-pass-the-serial-console-configuration-on-to-linux.patch
Type: text/x-patch
Size: 1101 bytes
Desc: not available
URL: <http://lists.goldelico.com/pipermail/letux-kernel/attachments/20170417/ff0ecf02/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 512 bytes
Desc: OpenPGP digital signature
URL: <http://lists.goldelico.com/pipermail/letux-kernel/attachments/20170417/ff0ecf02/attachment-0001.asc>


More information about the Letux-kernel mailing list