Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Flashing NAND FLash HY27UG088G with sun8i-h3 over FEL MODE

Featured Replies

Dear Friends,

 

I am new on this forum. I wonder to know that:

- if sun8i-h3 supporting to flashing a HY27UG088G Nand flash over FEL mode?

- how to add nand flash driver to mount nand flash in uboot?

I really appreciate your response.
Thank you and best regards!

Edited by nguongnhanlb

  • Author

Hi Martinayotte,

 

Thank you for your response!

I intend to build a new platform using H3 and HY27UG088G Nand Flash and USB OTG to download firmware to Nand Flash as only main memory (like some modern smart phones). As I know that Allwinner A10 and A20 are supporting for MTD Nand. How can I make H3 support for MTD Nand? I think that H3 should support for MTD nand as manufacturer's design. http://linux-sunxi.org/Mainline_NAND_Howto

Hardware and software support are 2 different things.

A10 and A20 BSP (legacy) 3.4.x kernel has working NAND support because most of the development boards had NAND storage and there was no alternative kernel at the time.

With H3 there are no development boards (at least that are well known and popular) that use raw NAND, and the 3.4.x kernel source that we use has no in-tree NAND driver - it has an out-of-tree module with a closed source blob: https://github.com/armbian/linux/tree/sun8i/modules/nand

 

Mainline kernel doesn't have support for MLC NAND at all. And AFAIK most of "modern smartphones" that aren't in the low-end category use eMMC, not raw NAND.

  • Author

Thank Zador!

 

Could you plz show me how to integrate the driver for raw NAND in uboot? I haven't work much with linux, however, like a microcontroller, H3 should controlled raw NAND as its design. So, I think I can also write program to make it supporting for raw NAND. What should I do from starting?

10 minutes ago, nguongnhanlb said:

Could you plz show me how to integrate the driver for raw NAND in uboot?

For mainline there is no "integrate", there is "write from scratch using incomplete documentation and reverse-engineering". Legacy/BSP u-boot may have NAND support already, but it was never used by us.

 

12 minutes ago, nguongnhanlb said:

What should I do from starting?

If you really want to use NAND, try to use the vendor's SDK (i.e. from here), it may contain u-boot sources with NAND support. Otherwise I have to say again - on this forum most developers never had any experience with NAND on H3 and most developers won't touch Allwinner SDK sources.

 

  • Author

Thank you so much, Mr. Zador.blood.stained!

I'll try with vendor's SDK. Actually, I wanna experience all the process to build a linux system starting from uboot to running OS applications. Hope to get your advice when I get any issue.

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.