Bug 1118630

Summary: Please enable CONFIG_RTC_DRV_ISL12057 for armv7
Product: [Fedora] Fedora Reporter: Ajay Ramaswamy <ajayr>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: gansalmon, itamar, jonathan, kernel-maint, madhu.chinakonda, mchehab, pbrobinson
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: kernel-3.15.5-200.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-16 09:25:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
dmesg from 3.15.5 kernel booted on netgear readynas 104 none

Description Ajay Ramaswamy 2014-07-11 08:06:17 UTC
Created attachment 917262 [details]
dmesg from 3.15.5 kernel booted on netgear readynas 104

Description of problem:
I have managed to boot fedora arm 20 on a netgear readynas 104.

As of Linux version 3.15 all the bits needed to support the device are upstream.

The built in RTC driver is supported by CONFIG_RTC_DRV_ISL12057

Following the instructions given here 
http://natisbad.org/NAS3/index.html

I got to the serial console and changed the uboot env to

bootcmd_nand=nand read 0x2000000 0x200000 0x400000;nand read 0x3000000 0x800000 0x400000;bootm 0x2000000 0x3000000                                                                                          
bootcmd_usb=usb reset; fatload usb 0:1 0x1200000 boot.scr; source 0x1200000;                                                                                                                                
bootcmd=run bootcmd_usb; run bootcmd_nand;


now if there is a VFAT formatted USB port uboot will look for a boot.scr and run it, unfortunately the uboot is very old and needs vmlinuz+dtb made into a uImage

this is my boot.scr
fatload usb 0:1 0x2000000 uImage-3.15.5-200.fc20.armv7hl
fatload usb 0:1 0x3000000 uInitrd-3.15.5-200.fc20.armv7hl
setenv fcargs selinux=0 audit=0 LANG=en_US.UTF-8
setenv fc2 plymouth.enable=0 rd.md=0 rd.lvm=0 rd.dm=0 rd.luks=0
setenv rootargs root=LABEL=f20-rootfs rw rootwait rootfstype=ext4
setenv bootargs $console $rootargs $fcargs $fc2 quiet
bootm 0x2000000 0x3000000

all the rest of my OS is on the hard disks inside the NAS

Here is the current dmesg on the box from a locally rebuilt kernel rpm

to just add this one option to config-local and rebuild the kernel and cross rebuild the rpm takes more than an hour on my laptop 


Version-Release number of selected component (if applicable):

3.15.4

How reproducible:
always

Steps to Reproduce:
1. boot with fedora built kernel and RTC does not work
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Peter Robinson 2014-07-11 14:31:39 UTC
Pushed to rawhide/F-21/F-20