From: Andre Przywara <andre.przywara@arm.com>
To: Shivam Gupta <gupta.shivam1996@gmail.com>
Cc: "linux-sunxi@lists.linux.dev" <linux-sunxi@lists.linux.dev>
Subject: Re: [PATCH] add Eachlink H6 Mini
Date: Thu, 15 May 2025 10:23:34 +0100 [thread overview]
Message-ID: <c3e6a5cd-3985-4e71-b2a4-742303836660@arm.com> (raw)
In-Reply-To: <SJ1PR12MB6313123CC3D9C79C9E51BF93A090A@SJ1PR12MB6313.namprd12.prod.outlook.com>
Hi Shivam,
On 15/05/2025 07:44, Shivam Gupta wrote:
> Hi,
> After I extracted the fex file, kernel modules and DRAM details for an
> old (previously undocumented) A10 tablet (https://linux-sunxi.org/
> Softwinners_crane), I am unable to proceed further with u-boot or kernel
> compilation as it seems to need a dts. Can someone help me with this? I
> spent many days trying to write a dts based on similar devices, but I
> don’t have enough understanding of this.
So what did you try yet? I think the most complete A10 tablet in
mainline is probably sun4i-a10-topwise-a721.dts, as this describes both
the panel and touch.
You should copy that file, then go through it and check if you can find
the respective settings in the FEX file.
For instance it looks like the touchscreen is the same, also using the
same parameters like I2C address and interrupt, so you can keep that. SD
card (MMC0) and UART0 also looks the same.
If in doubt comment or remove other nodes in the DT, then give it a try,
to see how far you come. I'd recommend using serial, as this has a much
higher chance of success or at least some output.
> The fex file can be found here:
> https://github.com/linux-sunxi/sunxi-boards/pull/72/files
>
> Another problem I am facing is that the device boots from NAND by
> default so it does not boot from my SD card. How do I get around that?
Are you sure? I think most devices boot from SD card if they find the
right magic sector on it, bypassing internal boot media like NAND or
eMMC. So what have you tried, exactly? You would need to build a U-Boot
image, then "dd" that to sector 16 of an SD card. If you have serial
connected, that should already give you some output, even without the DT
being fully correct.
Please provide more details like the .dts that you created so far if you
need more help.
Cheers,
Andre
> Please help with this so I can get something up and running.
>
> Thanks,
>
> Shivam
>
next prev parent reply other threads:[~2025-05-15 9:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-08 14:34 [PATCH] add Eachlink H6 Mini Shivam Gupta
2025-05-08 15:25 ` Andre Przywara
[not found] ` <SJ1PR12MB6313678B38CB96D3C24FECE5A08BA@SJ1PR12MB6313.namprd12.prod.outlook.com>
2025-05-08 16:05 ` Andre Przywara
[not found] ` <SJ1PR12MB6313123CC3D9C79C9E51BF93A090A@SJ1PR12MB6313.namprd12.prod.outlook.com>
2025-05-15 9:23 ` Andre Przywara [this message]
2025-05-15 13:15 ` Shivam Gupta
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=c3e6a5cd-3985-4e71-b2a4-742303836660@arm.com \
--to=andre.przywara@arm.com \
--cc=gupta.shivam1996@gmail.com \
--cc=linux-sunxi@lists.linux.dev \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox