Welcome! Log In Create A New Profile



Posted by ron 
March 28, 2017 05:52AM
Hi everyone!

Based on what yongki has written
> U-Boot 1.1.4 (Feb 24 2012 - 15:06:45)NC1

the internal LG codename for the N2Bx series are NC1. (Just like NT1 is the codename for the N1T1/N1A1/...). I downloaded the sources from LG and compared the nt1-setup.c and nc1-setup.c BSP files (my DTS was based on the nt1-setup file).

Apart from the different CPUs there are other things that have to be considered:
- The NC1 has an RTC attached to the I2C bus, probably a Ricoh R2025SD.
- It also has a NAND flash, which is at least 16MB large (I couldn't find the MTDPART_SIZ_FULL definition so the size of the last partition is unknown). It shouldn't affect booting from USB but if you want to re-flash the original OS then some adjustments have to be made.
- This also means that there is no SPI flash that is defined in the NT1 DTS.
- There is no USB device support, eg. the NAS can't be attached to a PC as a mass storage device. (IMHO you don't lose anything special)
- USB VBUS and VBUS EN pin definitions seem to be missing, USB power is probably enabled all the time (or U-Boot enables it).
- The HDD power pins are defined, however the function that sets the power state is empty.
- There are some unknown GPIO pin definitions (MPP20, MPP22, MPP32, MPP33) that are probably LEDs or buttons and are controlled from the LG NAS daemon (there are scripts in the original rootfs with pin number definitions, so you can look it up).

The bottom line is that the NT1 DTS cannot be used for the NC1/N2B1. Maybe you'll have success by modifying some kernel arguments (like removing the mtdparts=spi... part) but it won't be a 100% stable/functional unit.
My advice is to either create a DTS based on the NT1 DTS and the nc1-setup.c, nt1-setup.c file. Or point me to a site where I can buy an N2B1 in the EU for less than 50-60EUR and I'll be happy to port the kernel for the N2B1 :)

Your Email:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.