<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel_replicant_linux, branch replicant-11</title>
<subtitle>Replicant kernel
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/kernel_replicant_linux/'/>
<entry>
<title>net: usb: sipc_hsic: fix crash</title>
<updated>2022-02-08T08:50:48+00:00</updated>
<author>
<name>Denis 'GNUtoo' Carikli</name>
<email>GNUtoo@cyberdimension.org</email>
</author>
<published>2022-02-07T16:43:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/kernel_replicant_linux/commit/?id=601056ab853dcaf523625cf6cae397d3ae4b8d0e'/>
<id>601056ab853dcaf523625cf6cae397d3ae4b8d0e</id>
<content type='text'>
If the device is disconnected, we need to make sure that ep-&gt;in_urb is
not used otherwise we can have a use after free:
    ------------[ cut here ]------------
    WARNING: CPU: 2 PID: 5464 at lib/refcount.c:28 refcount_warn_saturate+0x60/0x134
    refcount_t: underflow; use-after-free.
    CPU: 2 PID: 5464 Comm: ipc-modem Not tainted 5.10.70-977921-g2f5a453af3fc-dirty #77
    Hardware name: Samsung Exynos (Flattened Device Tree)
    Backtrace:
    [&lt;c099c03c&gt;] (dump_backtrace) from [&lt;c099c260&gt;] (show_stack+0x18/0x1c)
     r7:00000009 r6:60000013 r5:00000000 r4:c0eae790
    [&lt;c099c248&gt;] (show_stack) from [&lt;c09a4d24&gt;] (dump_stack+0x90/0xac)
    [&lt;c09a4c94&gt;] (dump_stack) from [&lt;c099c9fc&gt;] (__warn+0xac/0xd4)
     r7:00000009 r6:c3355c34 r5:00000000 r4:00000009
    [&lt;c099c950&gt;] (__warn) from [&lt;c099caa4&gt;] (warn_slowpath_fmt+0x80/0xbc)
     r6:c03d282c r5:0000001c r4:c0bbea9c
    [&lt;c099ca28&gt;] (warn_slowpath_fmt) from [&lt;c03d282c&gt;] (refcount_warn_saturate+0x60/0x134)
     r8:c0e95dd0 r7:00000000 r6:00000000 r5:c0e95d98 r4:c5327d80
    [&lt;c03d27cc&gt;] (refcount_warn_saturate) from [&lt;c05aabfc&gt;] (usb_free_urb+0x6c/0x70)
    [&lt;c05aab90&gt;] (usb_free_urb) from [&lt;c059d484&gt;] (sipc_disconnect+0x60/0x68)
     r5:c0e95d98 r4:c5327c40
    [&lt;c059d424&gt;] (sipc_disconnect) from [&lt;c05af7a8&gt;] (usb_unbind_interface+0x8c/0x1e4)
     r7:00000000 r6:c3564800 r5:00000000 r4:c3564020
    [&lt;c05af71c&gt;] (usb_unbind_interface) from [&lt;c04c3b64&gt;] (device_release_driver_internal+0xc0/0x1b0)
     r10:c35648bc r9:c0beeea9 r8:c0eb5780 r7:00000000 r6:c0e95dd0 r5:00000000
     r4:c3564020
    [&lt;c04c3aa4&gt;] (device_release_driver_internal) from [&lt;c04c3c6c&gt;] (device_release_driver+0x18/0x1c)
     r7:00000000 r6:c0e96124 r5:c1c39030 r4:c3564020
    [&lt;c04c3c54&gt;] (device_release_driver) from [&lt;c04c183c&gt;] (bus_remove_device+0xe4/0x120)
    [&lt;c04c1758&gt;] (bus_remove_device) from [&lt;c04be43c&gt;] (device_del+0x19c/0x370)
     r7:00000000 r6:c3564878 r5:c0e8e8f4 r4:c3564020
    [&lt;c04be2a0&gt;] (device_del) from [&lt;c05ad1f0&gt;] (usb_disable_device+0x158/0x19c)
     r10:c35648bc r9:c0beeea9 r8:c0eb5780 r7:00000000 r6:00000000 r5:c3564000
     r4:c3564800
    [&lt;c05ad098&gt;] (usb_disable_device) from [&lt;c05a2c34&gt;] (usb_disconnect+0x98/0x1dc)
     r9:c34cc800 r8:00000000 r7:00000000 r6:c3564878 r5:00000000 r4:c3564800
    [&lt;c05a2b9c&gt;] (usb_disconnect) from [&lt;c05a2d58&gt;] (usb_disconnect+0x1bc/0x1dc)
     r10:c34cccbc r9:c3355e20 r8:00000000 r7:c35cec00 r6:c34ccc78 r5:00000001
     r4:c34ccc00
    [&lt;c05a2b9c&gt;] (usb_disconnect) from [&lt;c09a1394&gt;] (usb_remove_hcd+0xd0/0x1d4)
     r10:00000004 r9:c3354000 r8:00000000 r7:c161d454 r6:00000001 r5:c2c44cc0
     r4:c2c44c00
    [&lt;c09a12c4&gt;] (usb_remove_hcd) from [&lt;c05dc5a0&gt;] (store_ehci_power+0x84/0x18c)
     r6:00000002 r5:c161d410 r4:c2c44c00
    [&lt;c05dc51c&gt;] (store_ehci_power) from [&lt;c04bc338&gt;] (dev_attr_store+0x1c/0x28)
     r8:c33c1710 r7:c3355f00 r6:c33c1700 r5:c3d0d4c0 r4:c05dc51c
    [&lt;c04bc31c&gt;] (dev_attr_store) from [&lt;c02cfd48&gt;] (sysfs_kf_write+0x40/0x4c)
     r5:c3d0d4c0 r4:c04bc31c
    [&lt;c02cfd08&gt;] (sysfs_kf_write) from [&lt;c02cedd0&gt;] (kernfs_fop_write_iter+0xec/0x1ac)
     r5:c3d0d4c0 r4:00000002
    [&lt;c02cece4&gt;] (kernfs_fop_write_iter) from [&lt;c0253e74&gt;] (vfs_write+0x1a8/0x204)
     r8:beb948d8 r7:00000000 r6:c3355f58 r5:c367b600 r4:00000002
    [&lt;c0253ccc&gt;] (vfs_write) from [&lt;c0254030&gt;] (ksys_write+0x7c/0xd0)
     r8:00000002 r7:c3355f64 r6:c3355f58 r5:beb948d8 r4:c367b600
    [&lt;c0253fb4&gt;] (ksys_write) from [&lt;c0254094&gt;] (sys_write+0x10/0x14)
     r8:c0100264 r7:00000004 r6:00000000 r5:beb948d8 r4:00000004
    [&lt;c0254084&gt;] (sys_write) from [&lt;c0100244&gt;] (__sys_trace_return+0x0/0x1c)
    Exception stack(0xc3355fa8 to 0xc3355ff0)
    5fa0:                   00000004 beb948d8 00000004 beb948d8 00000002 00000000
    5fc0: 00000004 beb948d8 00000000 00000004 b6f40550 b6c32328 00452960 00464000
    5fe0: b6eed0ac beb948c0 b6ecc028 b6f01100
    ---[ end trace 9e1c4c0c71f8dda6 ]---

Signed-off-by: Denis 'GNUtoo' Carikli &lt;GNUtoo@cyberdimension.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If the device is disconnected, we need to make sure that ep-&gt;in_urb is
not used otherwise we can have a use after free:
    ------------[ cut here ]------------
    WARNING: CPU: 2 PID: 5464 at lib/refcount.c:28 refcount_warn_saturate+0x60/0x134
    refcount_t: underflow; use-after-free.
    CPU: 2 PID: 5464 Comm: ipc-modem Not tainted 5.10.70-977921-g2f5a453af3fc-dirty #77
    Hardware name: Samsung Exynos (Flattened Device Tree)
    Backtrace:
    [&lt;c099c03c&gt;] (dump_backtrace) from [&lt;c099c260&gt;] (show_stack+0x18/0x1c)
     r7:00000009 r6:60000013 r5:00000000 r4:c0eae790
    [&lt;c099c248&gt;] (show_stack) from [&lt;c09a4d24&gt;] (dump_stack+0x90/0xac)
    [&lt;c09a4c94&gt;] (dump_stack) from [&lt;c099c9fc&gt;] (__warn+0xac/0xd4)
     r7:00000009 r6:c3355c34 r5:00000000 r4:00000009
    [&lt;c099c950&gt;] (__warn) from [&lt;c099caa4&gt;] (warn_slowpath_fmt+0x80/0xbc)
     r6:c03d282c r5:0000001c r4:c0bbea9c
    [&lt;c099ca28&gt;] (warn_slowpath_fmt) from [&lt;c03d282c&gt;] (refcount_warn_saturate+0x60/0x134)
     r8:c0e95dd0 r7:00000000 r6:00000000 r5:c0e95d98 r4:c5327d80
    [&lt;c03d27cc&gt;] (refcount_warn_saturate) from [&lt;c05aabfc&gt;] (usb_free_urb+0x6c/0x70)
    [&lt;c05aab90&gt;] (usb_free_urb) from [&lt;c059d484&gt;] (sipc_disconnect+0x60/0x68)
     r5:c0e95d98 r4:c5327c40
    [&lt;c059d424&gt;] (sipc_disconnect) from [&lt;c05af7a8&gt;] (usb_unbind_interface+0x8c/0x1e4)
     r7:00000000 r6:c3564800 r5:00000000 r4:c3564020
    [&lt;c05af71c&gt;] (usb_unbind_interface) from [&lt;c04c3b64&gt;] (device_release_driver_internal+0xc0/0x1b0)
     r10:c35648bc r9:c0beeea9 r8:c0eb5780 r7:00000000 r6:c0e95dd0 r5:00000000
     r4:c3564020
    [&lt;c04c3aa4&gt;] (device_release_driver_internal) from [&lt;c04c3c6c&gt;] (device_release_driver+0x18/0x1c)
     r7:00000000 r6:c0e96124 r5:c1c39030 r4:c3564020
    [&lt;c04c3c54&gt;] (device_release_driver) from [&lt;c04c183c&gt;] (bus_remove_device+0xe4/0x120)
    [&lt;c04c1758&gt;] (bus_remove_device) from [&lt;c04be43c&gt;] (device_del+0x19c/0x370)
     r7:00000000 r6:c3564878 r5:c0e8e8f4 r4:c3564020
    [&lt;c04be2a0&gt;] (device_del) from [&lt;c05ad1f0&gt;] (usb_disable_device+0x158/0x19c)
     r10:c35648bc r9:c0beeea9 r8:c0eb5780 r7:00000000 r6:00000000 r5:c3564000
     r4:c3564800
    [&lt;c05ad098&gt;] (usb_disable_device) from [&lt;c05a2c34&gt;] (usb_disconnect+0x98/0x1dc)
     r9:c34cc800 r8:00000000 r7:00000000 r6:c3564878 r5:00000000 r4:c3564800
    [&lt;c05a2b9c&gt;] (usb_disconnect) from [&lt;c05a2d58&gt;] (usb_disconnect+0x1bc/0x1dc)
     r10:c34cccbc r9:c3355e20 r8:00000000 r7:c35cec00 r6:c34ccc78 r5:00000001
     r4:c34ccc00
    [&lt;c05a2b9c&gt;] (usb_disconnect) from [&lt;c09a1394&gt;] (usb_remove_hcd+0xd0/0x1d4)
     r10:00000004 r9:c3354000 r8:00000000 r7:c161d454 r6:00000001 r5:c2c44cc0
     r4:c2c44c00
    [&lt;c09a12c4&gt;] (usb_remove_hcd) from [&lt;c05dc5a0&gt;] (store_ehci_power+0x84/0x18c)
     r6:00000002 r5:c161d410 r4:c2c44c00
    [&lt;c05dc51c&gt;] (store_ehci_power) from [&lt;c04bc338&gt;] (dev_attr_store+0x1c/0x28)
     r8:c33c1710 r7:c3355f00 r6:c33c1700 r5:c3d0d4c0 r4:c05dc51c
    [&lt;c04bc31c&gt;] (dev_attr_store) from [&lt;c02cfd48&gt;] (sysfs_kf_write+0x40/0x4c)
     r5:c3d0d4c0 r4:c04bc31c
    [&lt;c02cfd08&gt;] (sysfs_kf_write) from [&lt;c02cedd0&gt;] (kernfs_fop_write_iter+0xec/0x1ac)
     r5:c3d0d4c0 r4:00000002
    [&lt;c02cece4&gt;] (kernfs_fop_write_iter) from [&lt;c0253e74&gt;] (vfs_write+0x1a8/0x204)
     r8:beb948d8 r7:00000000 r6:c3355f58 r5:c367b600 r4:00000002
    [&lt;c0253ccc&gt;] (vfs_write) from [&lt;c0254030&gt;] (ksys_write+0x7c/0xd0)
     r8:00000002 r7:c3355f64 r6:c3355f58 r5:beb948d8 r4:c367b600
    [&lt;c0253fb4&gt;] (ksys_write) from [&lt;c0254094&gt;] (sys_write+0x10/0x14)
     r8:c0100264 r7:00000004 r6:00000000 r5:beb948d8 r4:00000004
    [&lt;c0254084&gt;] (sys_write) from [&lt;c0100244&gt;] (__sys_trace_return+0x0/0x1c)
    Exception stack(0xc3355fa8 to 0xc3355ff0)
    5fa0:                   00000004 beb948d8 00000004 beb948d8 00000002 00000000
    5fc0: 00000004 beb948d8 00000000 00000004 b6f40550 b6c32328 00452960 00464000
    5fe0: b6eed0ac beb948c0 b6ecc028 b6f01100
    ---[ end trace 9e1c4c0c71f8dda6 ]---

Signed-off-by: Denis 'GNUtoo' Carikli &lt;GNUtoo@cyberdimension.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net: usb: sipc_hsic: style cleanup</title>
<updated>2022-02-08T08:49:55+00:00</updated>
<author>
<name>Denis 'GNUtoo' Carikli</name>
<email>GNUtoo@cyberdimension.org</email>
</author>
<published>2022-02-07T15:26:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/kernel_replicant_linux/commit/?id=12a435ec8234fa05eef3a85a12a916c047801433'/>
<id>12a435ec8234fa05eef3a85a12a916c047801433</id>
<content type='text'>
Signed-off-by: Denis 'GNUtoo' Carikli &lt;GNUtoo@cyberdimension.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Denis 'GNUtoo' Carikli &lt;GNUtoo@cyberdimension.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net: usb: sipc_hsic: disconnect: remove usb_driver_release_interface</title>
<updated>2022-02-07T14:41:04+00:00</updated>
<author>
<name>Denis 'GNUtoo' Carikli</name>
<email>GNUtoo@cyberdimension.org</email>
</author>
<published>2022-02-07T14:39:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/kernel_replicant_linux/commit/?id=2346d34b505423c155fec1a28824606e9e32d6bc'/>
<id>2346d34b505423c155fec1a28824606e9e32d6bc</id>
<content type='text'>
usb_driver_release_interface does nothing when called from disconnect().

Signed-off-by: Denis 'GNUtoo' Carikli &lt;GNUtoo@cyberdimension.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
usb_driver_release_interface does nothing when called from disconnect().

Signed-off-by: Denis 'GNUtoo' Carikli &lt;GNUtoo@cyberdimension.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>build.sh: use CONFIG_LOCALVERSION_AUTO</title>
<updated>2022-01-28T13:08:21+00:00</updated>
<author>
<name>Denis 'GNUtoo' Carikli</name>
<email>GNUtoo@cyberdimension.org</email>
</author>
<published>2022-01-28T13:08:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/kernel_replicant_linux/commit/?id=2f5a453af3fc4ac189caa6bac7c7a0a3bb23b9b2'/>
<id>2f5a453af3fc4ac189caa6bac7c7a0a3bb23b9b2</id>
<content type='text'>
Signed-off-by: Denis 'GNUtoo' Carikli &lt;GNUtoo@cyberdimension.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Denis 'GNUtoo' Carikli &lt;GNUtoo@cyberdimension.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "ARM: replicant_defconfig: Add vertical-720x1280 logo for midas"</title>
<updated>2021-12-06T17:29:14+00:00</updated>
<author>
<name>Denis 'GNUtoo' Carikli</name>
<email>GNUtoo@cyberdimension.org</email>
</author>
<published>2021-12-06T17:27:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/kernel_replicant_linux/commit/?id=b94703a47d81bee6e5b0bbd703d944ee87bec3aa'/>
<id>b94703a47d81bee6e5b0bbd703d944ee87bec3aa</id>
<content type='text'>
Since we now managed to make the bootanimation program display the
Replicant logo, we can disable that configuration, to save some space
in the BOOT and RECOVERY partitions.

This reverts commit 7f13dccb4de933a6a5e8c2aad9a4feabae58e736.

Signed-off-by: Denis 'GNUtoo' Carikli &lt;GNUtoo@cyberdimension.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since we now managed to make the bootanimation program display the
Replicant logo, we can disable that configuration, to save some space
in the BOOT and RECOVERY partitions.

This reverts commit 7f13dccb4de933a6a5e8c2aad9a4feabae58e736.

Signed-off-by: Denis 'GNUtoo' Carikli &lt;GNUtoo@cyberdimension.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>build.sh: disable boot cursor</title>
<updated>2021-11-29T13:11:24+00:00</updated>
<author>
<name>Denis 'GNUtoo' Carikli</name>
<email>GNUtoo@cyberdimension.org</email>
</author>
<published>2021-11-28T17:05:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/kernel_replicant_linux/commit/?id=230012efe81b39d6f248de0a9ce4d6472905b161'/>
<id>230012efe81b39d6f248de0a9ce4d6472905b161</id>
<content type='text'>
We now have a logo at boot, so we don't need to display a blinking
cursor anymore.

Signed-off-by: Denis 'GNUtoo' Carikli &lt;GNUtoo@cyberdimension.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We now have a logo at boot, so we don't need to display a blinking
cursor anymore.

Signed-off-by: Denis 'GNUtoo' Carikli &lt;GNUtoo@cyberdimension.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ARM: config: disable boot cursor</title>
<updated>2021-11-29T13:11:23+00:00</updated>
<author>
<name>Denis 'GNUtoo' Carikli</name>
<email>GNUtoo@cyberdimension.org</email>
</author>
<published>2021-11-28T17:04:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/kernel_replicant_linux/commit/?id=a310e1330bf353eff95c1ca15d4487cd0faadd43'/>
<id>a310e1330bf353eff95c1ca15d4487cd0faadd43</id>
<content type='text'>
We now have a logo at boot, so we don't need to display a blinking
cursor anymore.

Signed-off-by: Denis 'GNUtoo' Carikli &lt;GNUtoo@cyberdimension.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We now have a logo at boot, so we don't need to display a blinking
cursor anymore.

Signed-off-by: Denis 'GNUtoo' Carikli &lt;GNUtoo@cyberdimension.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ARM: replicant_defconfig: Add vertical-720x1280 logo for midas</title>
<updated>2021-11-29T13:11:23+00:00</updated>
<author>
<name>Denis 'GNUtoo' Carikli</name>
<email>GNUtoo@cyberdimension.org</email>
</author>
<published>2021-11-28T17:00:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/kernel_replicant_linux/commit/?id=7f13dccb4de933a6a5e8c2aad9a4feabae58e736'/>
<id>7f13dccb4de933a6a5e8c2aad9a4feabae58e736</id>
<content type='text'>
Signed-off-by: Denis 'GNUtoo' Carikli &lt;GNUtoo@cyberdimension.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Denis 'GNUtoo' Carikli &lt;GNUtoo@cyberdimension.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>video/logo: Add Replicant logos</title>
<updated>2021-11-29T13:06:52+00:00</updated>
<author>
<name>Denis 'GNUtoo' Carikli</name>
<email>GNUtoo@cyberdimension.org</email>
</author>
<published>2021-11-28T16:44:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/kernel_replicant_linux/commit/?id=5aa508601ecce01bbbf899a608f34e222c24a65b'/>
<id>5aa508601ecce01bbbf899a608f34e222c24a65b</id>
<content type='text'>
For some reason, the bootanimation program runs during boot but it
doesn't display anything on the screen.

I've tried to run it at very early boot by using init=/path/to/bash.
While it's possible to use a bash built with Guix, we then end up
being unable to run Android utilities because for some reason apexd
refuses to run (it probably need to be able to get/set properties to
run).

And without apexd we can't run most binaries (including
/system/bin/sh, /system/xbin/bash or bootanimation).

As bootanimation seems to require surfaceflinger, I've tried to
disable the com.android.systemui after boot but I didn't manage to do
it in a way that enabled me to launch bootanimation.

Remains the debug through prints or LOG statements, but that will
probably take a long time to do, so in the meantime I'm adding the
Replicant logo to the kernel.

The images have been taken from tests/linux-boot-logos/ in the
vendor/replicant/artwork repository[1][2] at the commit
6135d3a081a5abda8ffb603cfdd370ea3c2f8b1f (scripts: linux-boot-logos:
rename the output files).

I don't know if Linux is capable of finding the logo that is best
suited for the display resolution and orientation. If not that
makes the kernel device specific. While the bootanimation.zip is
device specific, the kernel takes way longer to rebuild than just
copying a zip file.

In addition adding logos inside the kernel takes some precious space
so at the end it's probably way better to have the boot logo be
completely in userspace.

[1]https://git.replicant.us/infrastructure/replicant_artwork
[2]Note that this repository might move to
   https://git.replicant.us/replicant/vendor_replicant_artwork
   in the future.

Signed-off-by: Denis 'GNUtoo' Carikli &lt;GNUtoo@cyberdimension.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For some reason, the bootanimation program runs during boot but it
doesn't display anything on the screen.

I've tried to run it at very early boot by using init=/path/to/bash.
While it's possible to use a bash built with Guix, we then end up
being unable to run Android utilities because for some reason apexd
refuses to run (it probably need to be able to get/set properties to
run).

And without apexd we can't run most binaries (including
/system/bin/sh, /system/xbin/bash or bootanimation).

As bootanimation seems to require surfaceflinger, I've tried to
disable the com.android.systemui after boot but I didn't manage to do
it in a way that enabled me to launch bootanimation.

Remains the debug through prints or LOG statements, but that will
probably take a long time to do, so in the meantime I'm adding the
Replicant logo to the kernel.

The images have been taken from tests/linux-boot-logos/ in the
vendor/replicant/artwork repository[1][2] at the commit
6135d3a081a5abda8ffb603cfdd370ea3c2f8b1f (scripts: linux-boot-logos:
rename the output files).

I don't know if Linux is capable of finding the logo that is best
suited for the display resolution and orientation. If not that
makes the kernel device specific. While the bootanimation.zip is
device specific, the kernel takes way longer to rebuild than just
copying a zip file.

In addition adding logos inside the kernel takes some precious space
so at the end it's probably way better to have the boot logo be
completely in userspace.

[1]https://git.replicant.us/infrastructure/replicant_artwork
[2]Note that this repository might move to
   https://git.replicant.us/replicant/vendor_replicant_artwork
   in the future.

Signed-off-by: Denis 'GNUtoo' Carikli &lt;GNUtoo@cyberdimension.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ARM: replicant_recovery_defconfig: Remove unused 8250 options</title>
<updated>2021-11-26T17:45:08+00:00</updated>
<author>
<name>Denis 'GNUtoo' Carikli</name>
<email>GNUtoo@cyberdimension.org</email>
</author>
<published>2021-11-26T16:37:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/kernel_replicant_linux/commit/?id=a67d407f6cda4fa8b886abf2101243a5f8f15041'/>
<id>a67d407f6cda4fa8b886abf2101243a5f8f15041</id>
<content type='text'>
While CONFIG_SERIAL_8250 is required for CONFIG_SERIAL_SAMSUNG,
not all the CONFIG_SERIAL_8250 options are needed.

This should potentially reduce the size of the kernel image and
live us more room for other drivers or for more things in the
recovery initramfs.

Signed-off-by: Denis 'GNUtoo' Carikli &lt;GNUtoo@cyberdimension.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
While CONFIG_SERIAL_8250 is required for CONFIG_SERIAL_SAMSUNG,
not all the CONFIG_SERIAL_8250 options are needed.

This should potentially reduce the size of the kernel image and
live us more room for other drivers or for more things in the
recovery initramfs.

Signed-off-by: Denis 'GNUtoo' Carikli &lt;GNUtoo@cyberdimension.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
