lanefu changed the topic of #armbian-rockchip to: Armbian - Linux for ARM development boards | Rockchip SoC | www.armbian.com | This channel is relayed to the equivalent Discord channel | this channel is logged
<Armbian-Discord> <D​r4w> Hi, may I ask for help regarding a recent install over a TVBOX that has rk3318. Basically I managed to get everything working except for the fact that the eMMC disk is not recognized as the correct size (14.7GB instead of 64). I tried sudo /etc/init.d/resize2fs start but nothing changed. Could anyone help me out? I will gladly hand over any needed info. Thanks.
<Armbian-Discord> <r​pardini> ref any TVBOX questions, please search & ask in the forum: https://forum.armbian.com
<Armbian-Discord> <s​erkanp> Did you try with fdisk?
<Armbian-Discord> <s​erkanp> First find the start sector of partition ex:532555
<Armbian-Discord> <s​erkanp> D delete partition, select partition number
<Armbian-Discord> <s​erkanp> N new
<Armbian-Discord> <s​erkanp> Same partition number
<Armbian-Discord> <s​erkanp> P primary
<Armbian-Discord> <s​erkanp> Start sector 532555
<Armbian-Discord> <s​erkanp> End sector leave blank
<Armbian-Discord> <s​erkanp> Remove Linux type, yes
<Armbian-Discord> <s​erkanp> W write
<Armbian-Discord> <s​erkanp> Q quit
<Armbian-Discord> <s​erkanp> Then use resize2fs
<Armbian-Discord> <s​erkanp> I think it will work then
<Armbian-Discord> <D​r4w> I'm starting to think fake specs actually
<Armbian-Discord> <D​r4w> RAM is showing 1GB
<Armbian-Discord> <D​r4w> It should be 4
<Armbian-Discord> <s​erkanp> That is because of your selected dtb file, try different one
<Armbian-Discord> <D​r4w> sorry, I don't get what you mean?
<Armbian-Discord> <D​r4w> I used /proc/meminfo
<Armbian-Discord> <D​r4w> And was showing 1GB total
<Armbian-Discord> <s​erkanp> Dtb files are like pc bios, but they are files in your root folder, inside amlogic folder
<Armbian-Discord> <s​erkanp> Uenv.txt there is a definition which dtb file will be used on boot.
<Armbian-Discord> <s​erkanp> Dtb files are device tree files and have information about your hardware.
<Armbian-Discord> <s​erkanp> Bluetooth, wifi, ram, ethernet, audio etc
<Armbian-Discord> <s​erkanp> So when device boots with dtb, kernel asks for existing device to system and all information will be replied from dtb file.
<Armbian-Discord> <s​erkanp> So kernel will load drivers depend on that information
<Armbian-Discord> <s​erkanp> If the dtb you use have information as 1gb ram, you will see only 1 gb.
<Armbian-Discord> <s​erkanp> So choose another dtb
<Armbian-Discord> <D​r4w> amlogic folder?
<Armbian-Discord> <D​r4w> There's an amlogic folder on rk device?
<Armbian-Discord> <s​erkanp> If you boot from USB or sdcard or emmc , you will see 2 partitions
<Armbian-Discord> <s​erkanp> 1 boot part
<Armbian-Discord> <s​erkanp> 2 os
<Armbian-Discord> <s​erkanp> In boot partition, you will see amlogic folder and inside it there are dtb files
<Armbian-Discord> <s​erkanp> /boot/dtb/amlogic I guess, I am not near a pc now
<Armbian-Discord> <s​erkanp> It's 02:30 am here sorry 😦
<Armbian-Discord> <D​r4w> Okok, but I'm using a rockchip device, why should there be an amlogic folder?
<Armbian-Discord> <s​erkanp> But pm me, tomorrow I will give you better information
<Armbian-Discord> <s​erkanp> Ah then /boot/dtb/rockchip/
<Armbian-Discord> <s​erkanp> I though you have amlogic sorry
<Armbian-Discord> <D​r4w> Ok, I will check tomorrow for that folder than
<Armbian-Discord> <D​r4w> Will let you know
<Armbian-Discord> <D​r4w> thanks
<Armbian-Discord> <s​erkanp> I hope tomorrow I will msg you, we had a very huge earthquake here..
<Armbian-Discord> <D​r4w> ah shit, where are you from?
<Armbian-Discord> <s​erkanp> Turkey
<Armbian-Discord> <D​r4w> oh fuck, I heard about it, are you ok?
<Armbian-Discord> <s​erkanp> We are OK, but for now 17.500 people died
<Armbian-Discord> <s​erkanp> We think it will be 100k in next 1 week
<Armbian-Discord> <D​r4w> I noticed it was very bad from the news
<Armbian-Discord> <s​erkanp> Yeah 10 cities affected
<Armbian-Discord> <D​r4w> you are not in those cities?
<Armbian-Discord> <s​erkanp> 800km away
<Armbian-Discord> <D​r4w> I see, you still noticed the earthquake a lot?
<Armbian-Discord> <s​erkanp> It was 04:40 am, we were sleeping, we learned in the morning but the pictures are... Really very bad
<Armbian-Discord> <D​r4w> I've also seen some videos houses went down like they exploded, definitely very bad
<Armbian-Discord> <D​r4w> I'm, glad you and your family are ok
<Armbian-Discord> <s​erkanp> Before and after picture of a city..
<Armbian-Discord> <s​erkanp> Thanks.. 😦
<Armbian-Discord> <D​r4w> shit..
<Armbian-Discord> <s​erkanp> 10 city.. This is just one..
<Armbian-Discord> <s​erkanp> Anyway, let's not spam channel..
<Armbian-Discord> <s​erkanp> Send me pm msg tomorrow
<Armbian-Discord> <s​erkanp> Have to sleep..
<Armbian-Discord> <D​r4w> gn