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.

No SATA on fresh compile

Featured Replies

Hello everyone,

 

I'm in the process of building a file/download server with a Banana Pi Pro using the JMB 321 SATA port multiplier.

 

Right now I'm just trying to build an image that will allow me to boot from an SSD, then I will deal with adding the JMB.

 

I compiled a fresh image following the menu options after executing ./compile.sh selecting bananapi/jessie/next and it boots up correctly except it does not detect the SSD I have connected directly to the SATA port.(does not show in blkid or fdisk -l)

 

Image name provide: Armbian_4.83_Bananapipro_Debian_jessie_4.3.4

 

Going thru the kernel logs, I found this:

Jan 26 20:22:03 localhost kernel: [    3.498489] ahci-sunxi 1c18000.sata: PHY power up failed.
Jan 26 20:22:03 localhost kernel: [    3.498557] ahci-sunxi: probe of 1c18000.sata failed with error -5

It says on armbian/banana-pi that "NAND is not supported yet" for kernel 4.3.3, does this mean the SATA port? If so, is there a 4.x kernel that does support it? Or am I just doing something wrong?

 

Has anyone been able to successfully accomplish what I am trying to do? (JMB with bootable SSD)

 

Thanks for any help, greatly appreciated.

 

 

  • Author

Thanks, the patch that was provided on that site fixed the problem, rebuilt the kernel and can now detect detect the SATA port.

 

I am aware of the risks involved using the PM module, even by coping a large volume of data thru it the chip got hot to the touch. Will be keeping important data on a USB HD instead just in case.

 

Now that the SATA and PMP work I am try to make it boot from an SSD that is connected thru the PMP module. It doesn't detect any drive during the init phase, I'm guessing because either the module isn't included or enabled in the initramfs image.

 

I enable the pmp module by setting:

echo "options ahci-sunxi enable_pmp=1" > /etc/modprobe.d/ahci-sunxi.conf

I've tried to get to debug shell during the init process by setting "break=init" in /boot/boot.cmd to see if the module is there/enabled, but it just keeps booting.

 

1. Do modules get added to the initramfs image when u-boot is built?

2. Can I tell it to add that conf file when u-boot is built?

3. Is there a way I can get into the debug shell during init?

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.